Class UrlMapsValidateRequest.Builder (1.53.0)

public static final class UrlMapsValidateRequest.Builder extends GeneratedMessageV3.Builder<UrlMapsValidateRequest.Builder> implements UrlMapsValidateRequestOrBuilder

Protobuf type google.cloud.compute.v1.UrlMapsValidateRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllLoadBalancingSchemes(Iterable<String> values)

public UrlMapsValidateRequest.Builder addAllLoadBalancingSchemes(Iterable<String> values)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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;

Parameter
Name Description
values Iterable<String>

The loadBalancingSchemes to add.

Returns
Type Description
UrlMapsValidateRequest.Builder

This builder for chaining.

addLoadBalancingSchemes(String value)

public UrlMapsValidateRequest.Builder addLoadBalancingSchemes(String value)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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;

Parameter
Name Description
value String

The loadBalancingSchemes to add.

Returns
Type Description
UrlMapsValidateRequest.Builder

This builder for chaining.

addLoadBalancingSchemesBytes(ByteString value)

public UrlMapsValidateRequest.Builder addLoadBalancingSchemesBytes(ByteString value)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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;

Parameter
Name Description
value ByteString

The bytes of the loadBalancingSchemes to add.

Returns
Type Description
UrlMapsValidateRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UrlMapsValidateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

build()

public UrlMapsValidateRequest build()
Returns
Type Description
UrlMapsValidateRequest

buildPartial()

public UrlMapsValidateRequest buildPartial()
Returns
Type Description
UrlMapsValidateRequest

clear()

public UrlMapsValidateRequest.Builder clear()
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UrlMapsValidateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

clearLoadBalancingSchemes()

public UrlMapsValidateRequest.Builder clearLoadBalancingSchemes()

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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
Type Description
UrlMapsValidateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UrlMapsValidateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

clearResource()

public UrlMapsValidateRequest.Builder clearResource()

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Returns
Type Description
UrlMapsValidateRequest.Builder

clone()

public UrlMapsValidateRequest.Builder clone()
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

getDefaultInstanceForType()

public UrlMapsValidateRequest getDefaultInstanceForType()
Returns
Type Description
UrlMapsValidateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLoadBalancingSchemes(int index)

public String getLoadBalancingSchemes(int index)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The loadBalancingSchemes at the given index.

getLoadBalancingSchemesBytes(int index)

public ByteString getLoadBalancingSchemesBytes(int index)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the loadBalancingSchemes at the given index.

getLoadBalancingSchemesCount()

public int getLoadBalancingSchemesCount()

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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
Type Description
int

The count of loadBalancingSchemes.

getLoadBalancingSchemesList()

public ProtocolStringList getLoadBalancingSchemesList()

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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
Type Description
ProtocolStringList

A list containing the loadBalancingSchemes.

getResource()

public UrlMap getResource()

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Returns
Type Description
UrlMap

The resource.

getResourceBuilder()

public UrlMap.Builder getResourceBuilder()

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Returns
Type Description
UrlMap.Builder

getResourceOrBuilder()

public UrlMapOrBuilder getResourceOrBuilder()

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Returns
Type Description
UrlMapOrBuilder

hasResource()

public boolean hasResource()

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Returns
Type Description
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UrlMapsValidateRequest other)

public UrlMapsValidateRequest.Builder mergeFrom(UrlMapsValidateRequest other)
Parameter
Name Description
other UrlMapsValidateRequest
Returns
Type Description
UrlMapsValidateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UrlMapsValidateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UrlMapsValidateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

mergeResource(UrlMap value)

public UrlMapsValidateRequest.Builder mergeResource(UrlMap value)

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Parameter
Name Description
value UrlMap
Returns
Type Description
UrlMapsValidateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UrlMapsValidateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UrlMapsValidateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

setLoadBalancingSchemes(int index, String value)

public UrlMapsValidateRequest.Builder setLoadBalancingSchemes(int index, String value)

Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. 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
Name Description
index int

The index to set the value at.

value String

The loadBalancingSchemes to set.

Returns
Type Description
UrlMapsValidateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UrlMapsValidateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

setResource(UrlMap value)

public UrlMapsValidateRequest.Builder setResource(UrlMap value)

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Parameter
Name Description
value UrlMap
Returns
Type Description
UrlMapsValidateRequest.Builder

setResource(UrlMap.Builder builderForValue)

public UrlMapsValidateRequest.Builder setResource(UrlMap.Builder builderForValue)

Content of the UrlMap to be validated.

optional .google.cloud.compute.v1.UrlMap resource = 195806222;

Parameter
Name Description
builderForValue UrlMap.Builder
Returns
Type Description
UrlMapsValidateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UrlMapsValidateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides