Class UrlMapsValidateRequest.Builder (1.37.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
TypeDescription
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 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;

Parameter
NameDescription
valuesIterable<String>

The loadBalancingSchemes to add.

Returns
TypeDescription
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 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;

Parameter
NameDescription
valueString

The loadBalancingSchemes to add.

Returns
TypeDescription
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 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;

Parameter
NameDescription
valueByteString

The bytes of the loadBalancingSchemes to add.

Returns
TypeDescription
UrlMapsValidateRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UrlMapsValidateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

build()

public UrlMapsValidateRequest build()
Returns
TypeDescription
UrlMapsValidateRequest

buildPartial()

public UrlMapsValidateRequest buildPartial()
Returns
TypeDescription
UrlMapsValidateRequest

clear()

public UrlMapsValidateRequest.Builder clear()
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UrlMapsValidateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

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
TypeDescription
UrlMapsValidateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UrlMapsValidateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

clearResource()

public UrlMapsValidateRequest.Builder clearResource()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
UrlMapsValidateRequest.Builder

clone()

public UrlMapsValidateRequest.Builder clone()
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

getDefaultInstanceForType()

public UrlMapsValidateRequest getDefaultInstanceForType()
Returns
TypeDescription
UrlMapsValidateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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 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
TypeDescription
int

The count of loadBalancingSchemes.

getLoadBalancingSchemesList()

public 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;

Returns
TypeDescription
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
TypeDescription
UrlMap

The resource.

getResourceBuilder()

public UrlMap.Builder getResourceBuilder()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
UrlMap.Builder

getResourceOrBuilder()

public UrlMapOrBuilder getResourceOrBuilder()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
UrlMapOrBuilder

hasResource()

public boolean hasResource()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UrlMapsValidateRequest other)

public UrlMapsValidateRequest.Builder mergeFrom(UrlMapsValidateRequest other)
Parameter
NameDescription
otherUrlMapsValidateRequest
Returns
TypeDescription
UrlMapsValidateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UrlMapsValidateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UrlMapsValidateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueUrlMap
Returns
TypeDescription
UrlMapsValidateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UrlMapsValidateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UrlMapsValidateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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 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
NameDescription
indexint

The index to set the value at.

valueString

The loadBalancingSchemes to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueUrlMap
Returns
TypeDescription
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
NameDescription
builderForValueUrlMap.Builder
Returns
TypeDescription
UrlMapsValidateRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UrlMapsValidateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides