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.GeneratedMessage.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.GeneratedMessage.Builder<TestFailure.Builder>
implements TestFailureOrBuilder
Protobuf type
google.cloud.compute.v1.TestFailure-
Method Summary
Modifier and TypeMethodDescriptionaddAllHeaders(Iterable<? extends UrlMapTestHeader> values) HTTP headers of the request.addHeaders(int index, UrlMapTestHeader value) HTTP headers of the request.addHeaders(int index, UrlMapTestHeader.Builder builderForValue) HTTP headers of the request.addHeaders(UrlMapTestHeader value) HTTP headers of the request.addHeaders(UrlMapTestHeader.Builder builderForValue) HTTP headers of the request.HTTP headers of the request.addHeadersBuilder(int index) HTTP headers of the request.build()clear()The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.Actual HTTP status code for rule with `urlRedirect` calculated by load balancerBackendService or BackendBucket returned by load balancer.The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.Expected HTTP status code for rule with `urlRedirect` calculated by load balancerExpected BackendService or BackendBucket resource the given URL should be mapped to.HTTP headers of the request.Host portion of the URL.Path portion including query parameters in the URL.The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.com.google.protobuf.ByteStringThe actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.intActual HTTP status code for rule with `urlRedirect` calculated by load balancerBackendService or BackendBucket returned by load balancer.com.google.protobuf.ByteStringBackendService or BackendBucket returned by load balancer.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.com.google.protobuf.ByteStringThe expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.intExpected HTTP status code for rule with `urlRedirect` calculated by load balancerExpected BackendService or BackendBucket resource the given URL should be mapped to.com.google.protobuf.ByteStringExpected BackendService or BackendBucket resource the given URL should be mapped to.getHeaders(int index) HTTP headers of the request.getHeadersBuilder(int index) HTTP headers of the request.HTTP headers of the request.intHTTP headers of the request.HTTP headers of the request.getHeadersOrBuilder(int index) HTTP headers of the request.List<? extends UrlMapTestHeaderOrBuilder>HTTP headers of the request.getHost()Host portion of the URL.com.google.protobuf.ByteStringHost portion of the URL.getPath()Path portion including query parameters in the URL.com.google.protobuf.ByteStringPath portion including query parameters in the URL.booleanThe actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.booleanActual HTTP status code for rule with `urlRedirect` calculated by load balancerbooleanBackendService or BackendBucket returned by load balancer.booleanThe expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.booleanExpected HTTP status code for rule with `urlRedirect` calculated by load balancerbooleanExpected BackendService or BackendBucket resource the given URL should be mapped to.booleanhasHost()Host portion of the URL.booleanhasPath()Path portion including query parameters in the URL.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(TestFailure other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeHeaders(int index) HTTP headers of the request.setActualOutputUrl(String value) The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.setActualOutputUrlBytes(com.google.protobuf.ByteString value) The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.setActualRedirectResponseCode(int value) Actual HTTP status code for rule with `urlRedirect` calculated by load balancersetActualService(String value) BackendService or BackendBucket returned by load balancer.setActualServiceBytes(com.google.protobuf.ByteString value) BackendService or BackendBucket returned by load balancer.setExpectedOutputUrl(String value) The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.setExpectedOutputUrlBytes(com.google.protobuf.ByteString value) The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.setExpectedRedirectResponseCode(int value) Expected HTTP status code for rule with `urlRedirect` calculated by load balancersetExpectedService(String value) Expected BackendService or BackendBucket resource the given URL should be mapped to.setExpectedServiceBytes(com.google.protobuf.ByteString value) Expected BackendService or BackendBucket resource the given URL should be mapped to.setHeaders(int index, UrlMapTestHeader value) HTTP headers of the request.setHeaders(int index, UrlMapTestHeader.Builder builderForValue) HTTP headers of the request.Host portion of the URL.setHostBytes(com.google.protobuf.ByteString value) Host portion of the URL.Path portion including query parameters in the URL.setPathBytes(com.google.protobuf.ByteString value) Path portion including query parameters in the URL.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TestFailure.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TestFailure.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TestFailure.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TestFailure.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TestFailure.Builder>
-
mergeFrom
public TestFailure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
hasActualOutputUrlin interfaceTestFailureOrBuilder- Returns:
- Whether the actualOutputUrl field is set.
-
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:
getActualOutputUrlin 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:
getActualOutputUrlBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for actualOutputUrl.
-
setActualOutputUrl
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
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
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:
hasActualRedirectResponseCodein 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:
getActualRedirectResponseCodein interfaceTestFailureOrBuilder- Returns:
- The actualRedirectResponseCode.
-
setActualRedirectResponseCode
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
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:
hasActualServicein interfaceTestFailureOrBuilder- Returns:
- Whether the actualService field is set.
-
getActualService
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;- Specified by:
getActualServicein 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:
getActualServiceBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for actualService.
-
setActualService
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;- Parameters:
value- The actualService to set.- Returns:
- This builder for chaining.
-
clearActualService
BackendService or BackendBucket returned by load balancer.
optional string actual_service = 440379652;- Returns:
- This builder for chaining.
-
setActualServiceBytes
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:
hasExpectedOutputUrlin interfaceTestFailureOrBuilder- Returns:
- Whether the expectedOutputUrl field is set.
-
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:
getExpectedOutputUrlin 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:
getExpectedOutputUrlBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for expectedOutputUrl.
-
setExpectedOutputUrl
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
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
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:
hasExpectedRedirectResponseCodein 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:
getExpectedRedirectResponseCodein interfaceTestFailureOrBuilder- Returns:
- The expectedRedirectResponseCode.
-
setExpectedRedirectResponseCode
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
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:
hasExpectedServicein interfaceTestFailureOrBuilder- Returns:
- Whether the expectedService field is set.
-
getExpectedService
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;- Specified by:
getExpectedServicein 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:
getExpectedServiceBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for expectedService.
-
setExpectedService
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
Expected BackendService or BackendBucket resource the given URL should be mapped to.
optional string expected_service = 133987374;- Returns:
- This builder for chaining.
-
setExpectedServiceBytes
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
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;- Specified by:
getHeadersListin interfaceTestFailureOrBuilder
-
getHeadersCount
public int getHeadersCount()HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;- Specified by:
getHeadersCountin interfaceTestFailureOrBuilder
-
getHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;- Specified by:
getHeadersin interfaceTestFailureOrBuilder
-
setHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
setHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addAllHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
clearHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
removeHeaders
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
getHeadersBuilder
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
getHeadersOrBuilder
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;- Specified by:
getHeadersOrBuilderin interfaceTestFailureOrBuilder
-
getHeadersOrBuilderList
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998;- Specified by:
getHeadersOrBuilderListin interfaceTestFailureOrBuilder
-
addHeadersBuilder
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
addHeadersBuilder
HTTP headers of the request.
repeated .google.cloud.compute.v1.UrlMapTestHeader headers = 258436998; -
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:
hasHostin interfaceTestFailureOrBuilder- Returns:
- Whether the host field is set.
-
getHost
Host portion of the URL.
optional string host = 3208616;- Specified by:
getHostin interfaceTestFailureOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()Host portion of the URL.
optional string host = 3208616;- Specified by:
getHostBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for host.
-
setHost
Host portion of the URL.
optional string host = 3208616;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
Host portion of the URL.
optional string host = 3208616;- Returns:
- This builder for chaining.
-
setHostBytes
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:
hasPathin interfaceTestFailureOrBuilder- Returns:
- Whether the path field is set.
-
getPath
Path portion including query parameters in the URL.
optional string path = 3433509;- Specified by:
getPathin 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:
getPathBytesin interfaceTestFailureOrBuilder- Returns:
- The bytes for path.
-
setPath
Path portion including query parameters in the URL.
optional string path = 3433509;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Path portion including query parameters in the URL.
optional string path = 3433509;- Returns:
- This builder for chaining.
-
setPathBytes
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.
-