Class UrlMapsValidateRequest (1.56.0)

public final class UrlMapsValidateRequest extends GeneratedMessageV3 implements UrlMapsValidateRequestOrBuilder

Protobuf type google.cloud.compute.v1.UrlMapsValidateRequest

Static Fields

LOAD_BALANCING_SCHEMES_FIELD_NUMBER

public static final int LOAD_BALANCING_SCHEMES_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UrlMapsValidateRequest getDefaultInstance()
Returns
Type Description
UrlMapsValidateRequest

getDescriptor()

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

newBuilder()

public static UrlMapsValidateRequest.Builder newBuilder()
Returns
Type Description
UrlMapsValidateRequest.Builder

newBuilder(UrlMapsValidateRequest prototype)

public static UrlMapsValidateRequest.Builder newBuilder(UrlMapsValidateRequest prototype)
Parameter
Name Description
prototype UrlMapsValidateRequest
Returns
Type Description
UrlMapsValidateRequest.Builder

parseDelimitedFrom(InputStream input)

public static UrlMapsValidateRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UrlMapsValidateRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UrlMapsValidateRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UrlMapsValidateRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UrlMapsValidateRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UrlMapsValidateRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UrlMapsValidateRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UrlMapsValidateRequest> parser()
Returns
Type Description
Parser<UrlMapsValidateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UrlMapsValidateRequest getDefaultInstanceForType()
Returns
Type Description
UrlMapsValidateRequest

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.

getParserForType()

public Parser<UrlMapsValidateRequest> getParserForType()
Returns
Type Description
Parser<UrlMapsValidateRequest>
Overrides

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.

getResourceOrBuilder()

public UrlMapOrBuilder getResourceOrBuilder()

Content of the UrlMap to be validated.

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

Returns
Type Description
UrlMapOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UrlMapsValidateRequest.Builder newBuilderForType()
Returns
Type Description
UrlMapsValidateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UrlMapsValidateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UrlMapsValidateRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UrlMapsValidateRequest.Builder toBuilder()
Returns
Type Description
UrlMapsValidateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException