Class UrlMapsValidateRequest (1.39.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
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UrlMapsValidateRequest getDefaultInstance()
Returns
TypeDescription
UrlMapsValidateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UrlMapsValidateRequest.Builder newBuilder()
Returns
TypeDescription
UrlMapsValidateRequest.Builder

newBuilder(UrlMapsValidateRequest prototype)

public static UrlMapsValidateRequest.Builder newBuilder(UrlMapsValidateRequest prototype)
Parameter
NameDescription
prototypeUrlMapsValidateRequest
Returns
TypeDescription
UrlMapsValidateRequest.Builder

parseDelimitedFrom(InputStream input)

public static UrlMapsValidateRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UrlMapsValidateRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UrlMapsValidateRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UrlMapsValidateRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UrlMapsValidateRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UrlMapsValidateRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UrlMapsValidateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UrlMapsValidateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UrlMapsValidateRequest> parser()
Returns
TypeDescription
Parser<UrlMapsValidateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UrlMapsValidateRequest getDefaultInstanceForType()
Returns
TypeDescription
UrlMapsValidateRequest

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.

getParserForType()

public Parser<UrlMapsValidateRequest> getParserForType()
Returns
TypeDescription
Parser<UrlMapsValidateRequest>
Overrides

getResource()

public UrlMap getResource()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
UrlMap

The resource.

getResourceOrBuilder()

public UrlMapOrBuilder getResourceOrBuilder()

Content of the UrlMap to be validated.

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

Returns
TypeDescription
UrlMapOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UrlMapsValidateRequest.Builder newBuilderForType()
Returns
TypeDescription
UrlMapsValidateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UrlMapsValidateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UrlMapsValidateRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UrlMapsValidateRequest.Builder toBuilder()
Returns
TypeDescription
UrlMapsValidateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException