Package com.google.cloud.compute.v1
Class UrlMapsValidateRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
- com.google.cloud.compute.v1.UrlMapsValidateRequest.Builder
-
- All Implemented Interfaces:
UrlMapsValidateRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- UrlMapsValidateRequest
public static final class UrlMapsValidateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder> implements UrlMapsValidateRequestOrBuilder
google.cloud.compute.v1.UrlMapsValidateRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlMapsValidateRequest.Builder
addAllLoadBalancingSchemes(Iterable<String> values)
Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.Builder
addLoadBalancingSchemes(String value)
Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.Builder
addLoadBalancingSchemesBytes(com.google.protobuf.ByteString value)
Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UrlMapsValidateRequest
build()
UrlMapsValidateRequest
buildPartial()
UrlMapsValidateRequest.Builder
clear()
UrlMapsValidateRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UrlMapsValidateRequest.Builder
clearLoadBalancingSchemes()
Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UrlMapsValidateRequest.Builder
clearResource()
Content of the UrlMap to be validated.UrlMapsValidateRequest.Builder
clone()
UrlMapsValidateRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLoadBalancingSchemes(int index)
Specifies the load balancer type(s) this validation request is for.com.google.protobuf.ByteString
getLoadBalancingSchemesBytes(int index)
Specifies the load balancer type(s) this validation request is for.int
getLoadBalancingSchemesCount()
Specifies the load balancer type(s) this validation request is for.com.google.protobuf.ProtocolStringList
getLoadBalancingSchemesList()
Specifies the load balancer type(s) this validation request is for.UrlMap
getResource()
Content of the UrlMap to be validated.UrlMap.Builder
getResourceBuilder()
Content of the UrlMap to be validated.UrlMapOrBuilder
getResourceOrBuilder()
Content of the UrlMap to be validated.boolean
hasResource()
Content of the UrlMap to be validated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UrlMapsValidateRequest.Builder
mergeFrom(UrlMapsValidateRequest other)
UrlMapsValidateRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UrlMapsValidateRequest.Builder
mergeFrom(com.google.protobuf.Message other)
UrlMapsValidateRequest.Builder
mergeResource(UrlMap value)
Content of the UrlMap to be validated.UrlMapsValidateRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UrlMapsValidateRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UrlMapsValidateRequest.Builder
setLoadBalancingSchemes(int index, String value)
Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UrlMapsValidateRequest.Builder
setResource(UrlMap value)
Content of the UrlMap to be validated.UrlMapsValidateRequest.Builder
setResource(UrlMap.Builder builderForValue)
Content of the UrlMap to be validated.UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
clear
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
getDefaultInstanceForType
public UrlMapsValidateRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UrlMapsValidateRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UrlMapsValidateRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
setField
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
clearField
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
clearOneof
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
setRepeatedField
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
addRepeatedField
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
-
mergeFrom
public UrlMapsValidateRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UrlMapsValidateRequest.Builder>
-
mergeFrom
public UrlMapsValidateRequest.Builder mergeFrom(UrlMapsValidateRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
mergeFrom
public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
- Throws:
IOException
-
getLoadBalancingSchemesList
public com.google.protobuf.ProtocolStringList getLoadBalancingSchemesList()
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Specified by:
getLoadBalancingSchemesList
in interfaceUrlMapsValidateRequestOrBuilder
- Returns:
- A list containing the loadBalancingSchemes.
-
getLoadBalancingSchemesCount
public int getLoadBalancingSchemesCount()
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Specified by:
getLoadBalancingSchemesCount
in interfaceUrlMapsValidateRequestOrBuilder
- Returns:
- The count of loadBalancingSchemes.
-
getLoadBalancingSchemes
public String getLoadBalancingSchemes(int index)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Specified by:
getLoadBalancingSchemes
in interfaceUrlMapsValidateRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The loadBalancingSchemes at the given index.
-
getLoadBalancingSchemesBytes
public com.google.protobuf.ByteString getLoadBalancingSchemesBytes(int index)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Specified by:
getLoadBalancingSchemesBytes
in interfaceUrlMapsValidateRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the loadBalancingSchemes at the given index.
-
setLoadBalancingSchemes
public UrlMapsValidateRequest.Builder setLoadBalancingSchemes(int index, String value)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Parameters:
index
- The index to set the value at.value
- The loadBalancingSchemes to set.- Returns:
- This builder for chaining.
-
addLoadBalancingSchemes
public UrlMapsValidateRequest.Builder addLoadBalancingSchemes(String value)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Parameters:
value
- The loadBalancingSchemes to add.- Returns:
- This builder for chaining.
-
addAllLoadBalancingSchemes
public UrlMapsValidateRequest.Builder addAllLoadBalancingSchemes(Iterable<String> values)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Parameters:
values
- The loadBalancingSchemes to add.- Returns:
- This builder for chaining.
-
clearLoadBalancingSchemes
public UrlMapsValidateRequest.Builder clearLoadBalancingSchemes()
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Returns:
- This builder for chaining.
-
addLoadBalancingSchemesBytes
public UrlMapsValidateRequest.Builder addLoadBalancingSchemesBytes(com.google.protobuf.ByteString value)
Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. Check the LoadBalancingSchemes enum for the list of possible values.
repeated string load_balancing_schemes = 6308527;
- Parameters:
value
- The bytes of the loadBalancingSchemes to add.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
- Specified by:
hasResource
in interfaceUrlMapsValidateRequestOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
public UrlMap getResource()
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
- Specified by:
getResource
in interfaceUrlMapsValidateRequestOrBuilder
- Returns:
- The resource.
-
setResource
public UrlMapsValidateRequest.Builder setResource(UrlMap value)
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
-
setResource
public UrlMapsValidateRequest.Builder setResource(UrlMap.Builder builderForValue)
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
-
mergeResource
public UrlMapsValidateRequest.Builder mergeResource(UrlMap value)
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
-
clearResource
public UrlMapsValidateRequest.Builder clearResource()
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
-
getResourceBuilder
public UrlMap.Builder getResourceBuilder()
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
-
getResourceOrBuilder
public UrlMapOrBuilder getResourceOrBuilder()
Content of the UrlMap to be validated.
optional .google.cloud.compute.v1.UrlMap resource = 195806222;
- Specified by:
getResourceOrBuilder
in interfaceUrlMapsValidateRequestOrBuilder
-
setUnknownFields
public final UrlMapsValidateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
mergeUnknownFields
public final UrlMapsValidateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
-