public static final class KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder extends GeneratedMessageV3.Builder<KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder> implements KubernetesConfig.GatewayServiceMesh.RouteDestinationsOrBuilder
Information about route destinations for the Gateway API service mesh.
Protobuf type
google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDestinationIds(Iterable<String> values)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder addAllDestinationIds(Iterable<String> values)
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 |
values |
Iterable<String>
The destinationIds to add.
|
addDestinationIds(String value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder addDestinationIds(String value)
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 |
value |
String
The destinationIds to add.
|
addDestinationIdsBytes(ByteString value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder addDestinationIdsBytes(ByteString value)
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 |
value |
ByteString
The bytes of the destinationIds to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations build()
buildPartial()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations buildPartial()
clear()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clear()
Overrides
clearDestinationIds()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clearDestinationIds()
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];
clearField(Descriptors.FieldDescriptor field)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPropagateService()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clearPropagateService()
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];
clone()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder clone()
Overrides
getDefaultInstanceForType()
public KubernetesConfig.GatewayServiceMesh.RouteDestinations getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(KubernetesConfig.GatewayServiceMesh.RouteDestinations other)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder mergeFrom(KubernetesConfig.GatewayServiceMesh.RouteDestinations other)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDestinationIds(int index, String value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder setDestinationIds(int index, String value)
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];
Parameters |
Name |
Description |
index |
int
The index to set the value at.
|
value |
String
The destinationIds to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPropagateService(boolean value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder setPropagateService(boolean value)
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];
Parameter |
Name |
Description |
value |
boolean
The propagateService to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesConfig.GatewayServiceMesh.RouteDestinations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides