Class KubernetesConfig.GatewayServiceMesh.Builder (1.13.0)

public static final class KubernetesConfig.GatewayServiceMesh.Builder extends GeneratedMessageV3.Builder<KubernetesConfig.GatewayServiceMesh.Builder> implements KubernetesConfig.GatewayServiceMeshOrBuilder

Information about the Kubernetes Gateway API service mesh configuration.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KubernetesConfig.GatewayServiceMesh build()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

buildPartial()

public KubernetesConfig.GatewayServiceMesh buildPartial()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

clear()

public KubernetesConfig.GatewayServiceMesh.Builder clear()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

clearDeployment()

public KubernetesConfig.GatewayServiceMesh.Builder clearDeployment()

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHttpRoute()

public KubernetesConfig.GatewayServiceMesh.Builder clearHttpRoute()

Required. Name of the Gateway API HTTPRoute.

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

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public KubernetesConfig.GatewayServiceMesh.Builder clearService()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

clone()

public KubernetesConfig.GatewayServiceMesh.Builder clone()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

getDefaultInstanceForType()

public KubernetesConfig.GatewayServiceMesh getDefaultInstanceForType()
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh

getDeployment()

public String getDeployment()

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The deployment.

getDeploymentBytes()

public ByteString getDeploymentBytes()

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for deployment.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHttpRoute()

public String getHttpRoute()

Required. Name of the Gateway API HTTPRoute.

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

Returns
TypeDescription
String

The httpRoute.

getHttpRouteBytes()

public ByteString getHttpRouteBytes()

Required. Name of the Gateway API HTTPRoute.

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

Returns
TypeDescription
ByteString

The bytes for httpRoute.

getService()

public String getService()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for service.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KubernetesConfig.GatewayServiceMesh other)

public KubernetesConfig.GatewayServiceMesh.Builder mergeFrom(KubernetesConfig.GatewayServiceMesh other)
Parameter
NameDescription
otherKubernetesConfig.GatewayServiceMesh
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public KubernetesConfig.GatewayServiceMesh.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeployment(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setDeployment(String value)

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The deployment to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setDeploymentBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setDeploymentBytes(ByteString value)

Required. Name of the Kubernetes Deployment whose traffic is managed by the specified HTTPRoute and Service.

string deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for deployment to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.GatewayServiceMesh.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

setHttpRoute(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setHttpRoute(String value)

Required. Name of the Gateway API HTTPRoute.

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

Parameter
NameDescription
valueString

The httpRoute to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setHttpRouteBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setHttpRouteBytes(ByteString value)

Required. Name of the Gateway API HTTPRoute.

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

Parameter
NameDescription
valueByteString

The bytes for httpRoute to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public KubernetesConfig.GatewayServiceMesh.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder
Overrides

setService(String value)

public KubernetesConfig.GatewayServiceMesh.Builder setService(String value)

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The service to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public KubernetesConfig.GatewayServiceMesh.Builder setServiceBytes(ByteString value)

Required. Name of the Kubernetes Service.

string service = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
KubernetesConfig.GatewayServiceMesh.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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