Class KubernetesConfig.GatewayServiceMesh.RouteDestinations (1.52.0)

public static final class KubernetesConfig.GatewayServiceMesh.RouteDestinations extends GeneratedMessageV3 implements KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder

Information about route destinations for the Gateway API service mesh.

Protobuf type google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > KubernetesConfig.GatewayServiceMesh.RouteDestinations

Static Fields

DESTINATION_IDS_FIELD_NUMBER

public static final int DESTINATION_IDS_FIELD_NUMBER
Field Value
Type Description
int

PROPAGATE_SERVICE_FIELD_NUMBER

public static final int PROPAGATE_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations getDefaultInstance()
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations

getDescriptor()

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

newBuilder()

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder newBuilder()
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder

newBuilder(KubernetesConfig.GatewayServiceMesh.RouteDestinations prototype)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder newBuilder(KubernetesConfig.GatewayServiceMesh.RouteDestinations prototype)
Parameter
Name Description
prototype KubernetesConfig.GatewayServiceMesh.RouteDestinations
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder

parseDelimitedFrom(InputStream input)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig.GatewayServiceMesh.RouteDestinations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<KubernetesConfig.GatewayServiceMesh.RouteDestinations> parser()
Returns
Type Description
Parser<RouteDestinations>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public KubernetesConfig.GatewayServiceMesh.RouteDestinations getDefaultInstanceForType()
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations

getDestinationIds(int index)

public String getDestinationIds(int index)

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The destinationIds at the given index.

getDestinationIdsBytes(int index)

public ByteString getDestinationIdsBytes(int index)

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the destinationIds at the given index.

getDestinationIdsCount()

public int getDestinationIdsCount()

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of destinationIds.

getDestinationIdsList()

public ProtocolStringList getDestinationIdsList()

Required. The clusters where the Gateway API HTTPRoute resource will be deployed to. Valid entries include the associated entities IDs configured in the Target resource and "@self" to include the Target cluster.

repeated string destination_ids = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the destinationIds.

getParserForType()

public Parser<KubernetesConfig.GatewayServiceMesh.RouteDestinations> getParserForType()
Returns
Type Description
Parser<RouteDestinations>
Overrides

getPropagateService()

public boolean getPropagateService()

Optional. Whether to propagate the Kubernetes Service to the route destination clusters. The Service will always be deployed to the Target cluster even if the HTTPRoute is not. This option may be used to facilitiate successful DNS lookup in the route destination clusters. Can only be set to true if destinations are specified.

bool propagate_service = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The propagateService.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder newBuilderForType()
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder toBuilder()
Returns
Type Description
KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder

writeTo(CodedOutputStream output)

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