Package com.google.cloud.compute.v1
Class TestFailure.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
- com.google.cloud.compute.v1.TestFailure.Builder
-
- All Implemented Interfaces:
TestFailureOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TestFailure
public static final class TestFailure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder> implements TestFailureOrBuilder
google.cloud.compute.v1.TestFailure
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TestFailure.Builder
addAllHeaders(Iterable<? extends UrlMapTestHeader> values)
HTTP headers of the request.TestFailure.Builder
addHeaders(int index, UrlMapTestHeader value)
HTTP headers of the request.TestFailure.Builder
addHeaders(int index, UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.TestFailure.Builder
addHeaders(UrlMapTestHeader value)
HTTP headers of the request.TestFailure.Builder
addHeaders(UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.UrlMapTestHeader.Builder
addHeadersBuilder()
HTTP headers of the request.UrlMapTestHeader.Builder
addHeadersBuilder(int index)
HTTP headers of the request.TestFailure.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestFailure
build()
TestFailure
buildPartial()
TestFailure.Builder
clear()
TestFailure.Builder
clearActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
clearActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancerTestFailure.Builder
clearActualService()
BackendService or BackendBucket returned by load balancer.TestFailure.Builder
clearExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
clearExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancerTestFailure.Builder
clearExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.TestFailure.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TestFailure.Builder
clearHeaders()
HTTP headers of the request.TestFailure.Builder
clearHost()
Host portion of the URL.TestFailure.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TestFailure.Builder
clearPath()
Path portion including query parameters in the URL.TestFailure.Builder
clone()
String
getActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.com.google.protobuf.ByteString
getActualOutputUrlBytes()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.int
getActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancerString
getActualService()
BackendService or BackendBucket returned by load balancer.com.google.protobuf.ByteString
getActualServiceBytes()
BackendService or BackendBucket returned by load balancer.TestFailure
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.com.google.protobuf.ByteString
getExpectedOutputUrlBytes()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.int
getExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancerString
getExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.com.google.protobuf.ByteString
getExpectedServiceBytes()
Expected BackendService or BackendBucket resource the given URL should be mapped to.UrlMapTestHeader
getHeaders(int index)
HTTP headers of the request.UrlMapTestHeader.Builder
getHeadersBuilder(int index)
HTTP headers of the request.List<UrlMapTestHeader.Builder>
getHeadersBuilderList()
HTTP headers of the request.int
getHeadersCount()
HTTP headers of the request.List<UrlMapTestHeader>
getHeadersList()
HTTP headers of the request.UrlMapTestHeaderOrBuilder
getHeadersOrBuilder(int index)
HTTP headers of the request.List<? extends UrlMapTestHeaderOrBuilder>
getHeadersOrBuilderList()
HTTP headers of the request.String
getHost()
Host portion of the URL.com.google.protobuf.ByteString
getHostBytes()
Host portion of the URL.String
getPath()
Path portion including query parameters in the URL.com.google.protobuf.ByteString
getPathBytes()
Path portion including query parameters in the URL.boolean
hasActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.boolean
hasActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancerboolean
hasActualService()
BackendService or BackendBucket returned by load balancer.boolean
hasExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.boolean
hasExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancerboolean
hasExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.boolean
hasHost()
Host portion of the URL.boolean
hasPath()
Path portion including query parameters in the URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TestFailure.Builder
mergeFrom(TestFailure other)
TestFailure.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TestFailure.Builder
mergeFrom(com.google.protobuf.Message other)
TestFailure.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TestFailure.Builder
removeHeaders(int index)
HTTP headers of the request.TestFailure.Builder
setActualOutputUrl(String value)
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
setActualOutputUrlBytes(com.google.protobuf.ByteString value)
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
setActualRedirectResponseCode(int value)
Actual HTTP status code for rule with `urlRedirect` calculated by load balancerTestFailure.Builder
setActualService(String value)
BackendService or BackendBucket returned by load balancer.TestFailure.Builder
setActualServiceBytes(com.google.protobuf.ByteString value)
BackendService or BackendBucket returned by load balancer.TestFailure.Builder
setExpectedOutputUrl(String value)
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
setExpectedOutputUrlBytes(com.google.protobuf.ByteString value)
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.TestFailure.Builder
setExpectedRedirectResponseCode(int value)
Expected HTTP status code for rule with `urlRedirect` calculated by load balancerTestFailure.Builder
setExpectedService(String value)
Expected BackendService or BackendBucket resource the given URL should be mapped to.TestFailure.Builder
setExpectedServiceBytes(com.google.protobuf.ByteString value)
Expected BackendService or BackendBucket resource the given URL should be mapped to.TestFailure.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TestFailure.Builder
setHeaders(int index, UrlMapTestHeader value)
HTTP headers of the request.TestFailure.Builder
setHeaders(int index, UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.TestFailure.Builder
setHost(String value)
Host portion of the URL.TestFailure.Builder
setHostBytes(com.google.protobuf.ByteString value)
Host portion of the URL.TestFailure.Builder
setPath(String value)
Path portion including query parameters in the URL.TestFailure.Builder
setPathBytes(com.google.protobuf.ByteString value)
Path portion including query parameters in the URL.TestFailure.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TestFailure.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
clear
public TestFailure.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
getDefaultInstanceForType
public TestFailure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TestFailure build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TestFailure buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TestFailure.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
setField
public TestFailure.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
clearField
public TestFailure.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
clearOneof
public TestFailure.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
setRepeatedField
public TestFailure.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
addRepeatedField
public TestFailure.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
mergeFrom
public TestFailure.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TestFailure.Builder>
-
mergeFrom
public TestFailure.Builder mergeFrom(TestFailure other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
mergeFrom
public TestFailure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TestFailure.Builder>
- Throws:
IOException
-
hasActualOutputUrl
public boolean hasActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Specified by:
hasActualOutputUrl
in interfaceTestFailureOrBuilder
- Returns:
- Whether the actualOutputUrl field is set.
-
getActualOutputUrl
public String getActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Specified by:
getActualOutputUrl
in interfaceTestFailureOrBuilder
- Returns:
- The actualOutputUrl.
-
getActualOutputUrlBytes
public com.google.protobuf.ByteString getActualOutputUrlBytes()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Specified by:
getActualOutputUrlBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for actualOutputUrl.
-
setActualOutputUrl
public TestFailure.Builder setActualOutputUrl(String value)
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Parameters:
value
- The actualOutputUrl to set.- Returns:
- This builder for chaining.
-
clearActualOutputUrl
public TestFailure.Builder clearActualOutputUrl()
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Returns:
- This builder for chaining.
-
setActualOutputUrlBytes
public TestFailure.Builder setActualOutputUrlBytes(com.google.protobuf.ByteString value)
The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string actual_output_url = 287075458;
- Parameters:
value
- The bytes for actualOutputUrl to set.- Returns:
- This builder for chaining.
-
hasActualRedirectResponseCode
public boolean hasActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 actual_redirect_response_code = 42926553;
- Specified by:
hasActualRedirectResponseCode
in interfaceTestFailureOrBuilder
- Returns:
- Whether the actualRedirectResponseCode field is set.
-
getActualRedirectResponseCode
public int getActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 actual_redirect_response_code = 42926553;
- Specified by:
getActualRedirectResponseCode
in interfaceTestFailureOrBuilder
- Returns:
- The actualRedirectResponseCode.
-
setActualRedirectResponseCode
public TestFailure.Builder setActualRedirectResponseCode(int value)
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 actual_redirect_response_code = 42926553;
- Parameters:
value
- The actualRedirectResponseCode to set.- Returns:
- This builder for chaining.
-
clearActualRedirectResponseCode
public TestFailure.Builder clearActualRedirectResponseCode()
Actual HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 actual_redirect_response_code = 42926553;
- Returns:
- This builder for chaining.
-
hasActualService
public boolean hasActualService()
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Specified by:
hasActualService
in interfaceTestFailureOrBuilder
- Returns:
- Whether the actualService field is set.
-
getActualService
public String getActualService()
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Specified by:
getActualService
in interfaceTestFailureOrBuilder
- Returns:
- The actualService.
-
getActualServiceBytes
public com.google.protobuf.ByteString getActualServiceBytes()
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Specified by:
getActualServiceBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for actualService.
-
setActualService
public TestFailure.Builder setActualService(String value)
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Parameters:
value
- The actualService to set.- Returns:
- This builder for chaining.
-
clearActualService
public TestFailure.Builder clearActualService()
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Returns:
- This builder for chaining.
-
setActualServiceBytes
public TestFailure.Builder setActualServiceBytes(com.google.protobuf.ByteString value)
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;
- Parameters:
value
- The bytes for actualService to set.- Returns:
- This builder for chaining.
-
hasExpectedOutputUrl
public boolean hasExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Specified by:
hasExpectedOutputUrl
in interfaceTestFailureOrBuilder
- Returns:
- Whether the expectedOutputUrl field is set.
-
getExpectedOutputUrl
public String getExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Specified by:
getExpectedOutputUrl
in interfaceTestFailureOrBuilder
- Returns:
- The expectedOutputUrl.
-
getExpectedOutputUrlBytes
public com.google.protobuf.ByteString getExpectedOutputUrlBytes()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Specified by:
getExpectedOutputUrlBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for expectedOutputUrl.
-
setExpectedOutputUrl
public TestFailure.Builder setExpectedOutputUrl(String value)
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Parameters:
value
- The expectedOutputUrl to set.- Returns:
- This builder for chaining.
-
clearExpectedOutputUrl
public TestFailure.Builder clearExpectedOutputUrl()
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Returns:
- This builder for chaining.
-
setExpectedOutputUrlBytes
public TestFailure.Builder setExpectedOutputUrlBytes(com.google.protobuf.ByteString value)
The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.
optional string expected_output_url = 433967384;
- Parameters:
value
- The bytes for expectedOutputUrl to set.- Returns:
- This builder for chaining.
-
hasExpectedRedirectResponseCode
public boolean hasExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 expected_redirect_response_code = 18888047;
- Specified by:
hasExpectedRedirectResponseCode
in interfaceTestFailureOrBuilder
- Returns:
- Whether the expectedRedirectResponseCode field is set.
-
getExpectedRedirectResponseCode
public int getExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 expected_redirect_response_code = 18888047;
- Specified by:
getExpectedRedirectResponseCode
in interfaceTestFailureOrBuilder
- Returns:
- The expectedRedirectResponseCode.
-
setExpectedRedirectResponseCode
public TestFailure.Builder setExpectedRedirectResponseCode(int value)
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 expected_redirect_response_code = 18888047;
- Parameters:
value
- The expectedRedirectResponseCode to set.- Returns:
- This builder for chaining.
-
clearExpectedRedirectResponseCode
public TestFailure.Builder clearExpectedRedirectResponseCode()
Expected HTTP status code for rule with `urlRedirect` calculated by load balancer
optional int32 expected_redirect_response_code = 18888047;
- Returns:
- This builder for chaining.
-
hasExpectedService
public boolean hasExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Specified by:
hasExpectedService
in interfaceTestFailureOrBuilder
- Returns:
- Whether the expectedService field is set.
-
getExpectedService
public String getExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Specified by:
getExpectedService
in interfaceTestFailureOrBuilder
- Returns:
- The expectedService.
-
getExpectedServiceBytes
public com.google.protobuf.ByteString getExpectedServiceBytes()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Specified by:
getExpectedServiceBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for expectedService.
-
setExpectedService
public TestFailure.Builder setExpectedService(String value)
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Parameters:
value
- The expectedService to set.- Returns:
- This builder for chaining.
-
clearExpectedService
public TestFailure.Builder clearExpectedService()
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Returns:
- This builder for chaining.
-
setExpectedServiceBytes
public TestFailure.Builder setExpectedServiceBytes(com.google.protobuf.ByteString value)
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;
- Parameters:
value
- The bytes for expectedService to set.- Returns:
- This builder for chaining.
-
getHeadersList
public List<UrlMapTestHeader> getHeadersList()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
- Specified by:
getHeadersList
in interfaceTestFailureOrBuilder
-
getHeadersCount
public int getHeadersCount()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
- Specified by:
getHeadersCount
in interfaceTestFailureOrBuilder
-
getHeaders
public UrlMapTestHeader getHeaders(int index)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
- Specified by:
getHeaders
in interfaceTestFailureOrBuilder
-
setHeaders
public TestFailure.Builder setHeaders(int index, UrlMapTestHeader value)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
setHeaders
public TestFailure.Builder setHeaders(int index, UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addHeaders
public TestFailure.Builder addHeaders(UrlMapTestHeader value)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addHeaders
public TestFailure.Builder addHeaders(int index, UrlMapTestHeader value)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addHeaders
public TestFailure.Builder addHeaders(UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addHeaders
public TestFailure.Builder addHeaders(int index, UrlMapTestHeader.Builder builderForValue)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addAllHeaders
public TestFailure.Builder addAllHeaders(Iterable<? extends UrlMapTestHeader> values)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
clearHeaders
public TestFailure.Builder clearHeaders()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
removeHeaders
public TestFailure.Builder removeHeaders(int index)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
getHeadersBuilder
public UrlMapTestHeader.Builder getHeadersBuilder(int index)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
getHeadersOrBuilder
public UrlMapTestHeaderOrBuilder getHeadersOrBuilder(int index)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
- Specified by:
getHeadersOrBuilder
in interfaceTestFailureOrBuilder
-
getHeadersOrBuilderList
public List<? extends UrlMapTestHeaderOrBuilder> getHeadersOrBuilderList()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
- Specified by:
getHeadersOrBuilderList
in interfaceTestFailureOrBuilder
-
addHeadersBuilder
public UrlMapTestHeader.Builder addHeadersBuilder()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
addHeadersBuilder
public UrlMapTestHeader.Builder addHeadersBuilder(int index)
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
getHeadersBuilderList
public List<UrlMapTestHeader.Builder> getHeadersBuilderList()
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;
-
hasHost
public boolean hasHost()
Host portion of the URL.
optional string host = 3208616;
- Specified by:
hasHost
in interfaceTestFailureOrBuilder
- Returns:
- Whether the host field is set.
-
getHost
public String getHost()
Host portion of the URL.
optional string host = 3208616;
- Specified by:
getHost
in interfaceTestFailureOrBuilder
- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
Host portion of the URL.
optional string host = 3208616;
- Specified by:
getHostBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for host.
-
setHost
public TestFailure.Builder setHost(String value)
Host portion of the URL.
optional string host = 3208616;
- Parameters:
value
- The host to set.- Returns:
- This builder for chaining.
-
clearHost
public TestFailure.Builder clearHost()
Host portion of the URL.
optional string host = 3208616;
- Returns:
- This builder for chaining.
-
setHostBytes
public TestFailure.Builder setHostBytes(com.google.protobuf.ByteString value)
Host portion of the URL.
optional string host = 3208616;
- Parameters:
value
- The bytes for host to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()
Path portion including query parameters in the URL.
optional string path = 3433509;
- Specified by:
hasPath
in interfaceTestFailureOrBuilder
- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
Path portion including query parameters in the URL.
optional string path = 3433509;
- Specified by:
getPath
in interfaceTestFailureOrBuilder
- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
Path portion including query parameters in the URL.
optional string path = 3433509;
- Specified by:
getPathBytes
in interfaceTestFailureOrBuilder
- Returns:
- The bytes for path.
-
setPath
public TestFailure.Builder setPath(String value)
Path portion including query parameters in the URL.
optional string path = 3433509;
- Parameters:
value
- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public TestFailure.Builder clearPath()
Path portion including query parameters in the URL.
optional string path = 3433509;
- Returns:
- This builder for chaining.
-
setPathBytes
public TestFailure.Builder setPathBytes(com.google.protobuf.ByteString value)
Path portion including query parameters in the URL.
optional string path = 3433509;
- Parameters:
value
- The bytes for path to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TestFailure.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
mergeUnknownFields
public final TestFailure.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TestFailure.Builder>
-
-