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
Protobuf typegoogle.cloud.compute.v1.UrlMapsValidateRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlMapsValidateRequest.BuilderaddAllLoadBalancingSchemes(Iterable<String> values)Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.BuilderaddLoadBalancingSchemes(String value)Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.BuilderaddLoadBalancingSchemesBytes(com.google.protobuf.ByteString value)Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UrlMapsValidateRequestbuild()UrlMapsValidateRequestbuildPartial()UrlMapsValidateRequest.Builderclear()UrlMapsValidateRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UrlMapsValidateRequest.BuilderclearLoadBalancingSchemes()Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UrlMapsValidateRequest.BuilderclearResource()Content of the UrlMap to be validated.UrlMapsValidateRequest.Builderclone()UrlMapsValidateRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLoadBalancingSchemes(int index)Specifies the load balancer type(s) this validation request is for.com.google.protobuf.ByteStringgetLoadBalancingSchemesBytes(int index)Specifies the load balancer type(s) this validation request is for.intgetLoadBalancingSchemesCount()Specifies the load balancer type(s) this validation request is for.com.google.protobuf.ProtocolStringListgetLoadBalancingSchemesList()Specifies the load balancer type(s) this validation request is for.UrlMapgetResource()Content of the UrlMap to be validated.UrlMap.BuildergetResourceBuilder()Content of the UrlMap to be validated.UrlMapOrBuildergetResourceOrBuilder()Content of the UrlMap to be validated.booleanhasResource()Content of the UrlMap to be validated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UrlMapsValidateRequest.BuildermergeFrom(UrlMapsValidateRequest other)UrlMapsValidateRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UrlMapsValidateRequest.BuildermergeFrom(com.google.protobuf.Message other)UrlMapsValidateRequest.BuildermergeResource(UrlMap value)Content of the UrlMap to be validated.UrlMapsValidateRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UrlMapsValidateRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UrlMapsValidateRequest.BuildersetLoadBalancingSchemes(int index, String value)Specifies the load balancer type(s) this validation request is for.UrlMapsValidateRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UrlMapsValidateRequest.BuildersetResource(UrlMap value)Content of the UrlMap to be validated.UrlMapsValidateRequest.BuildersetResource(UrlMap.Builder builderForValue)Content of the UrlMap to be validated.UrlMapsValidateRequest.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
clear
public UrlMapsValidateRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.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.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
getDefaultInstanceForType
public UrlMapsValidateRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UrlMapsValidateRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UrlMapsValidateRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UrlMapsValidateRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
setField
public UrlMapsValidateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
clearField
public UrlMapsValidateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
clearOneof
public UrlMapsValidateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
setRepeatedField
public UrlMapsValidateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
addRepeatedField
public UrlMapsValidateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
mergeFrom
public UrlMapsValidateRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UrlMapsValidateRequest.Builder>
-
mergeFrom
public UrlMapsValidateRequest.Builder mergeFrom(UrlMapsValidateRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getLoadBalancingSchemesListin 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:
getLoadBalancingSchemesCountin 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:
getLoadBalancingSchemesin 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:
getLoadBalancingSchemesBytesin 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:
hasResourcein 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:
getResourcein 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:
getResourceOrBuilderin interfaceUrlMapsValidateRequestOrBuilder
-
setUnknownFields
public final UrlMapsValidateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
mergeUnknownFields
public final UrlMapsValidateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder>
-
-