Class KubernetesConfig.Builder (1.43.0)

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

KubernetesConfig contains the Kubernetes runtime configuration.

Protobuf type google.cloud.deploy.v1.KubernetesConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KubernetesConfig.Builder
Overrides

build()

public KubernetesConfig build()
Returns
Type Description
KubernetesConfig

buildPartial()

public KubernetesConfig buildPartial()
Returns
Type Description
KubernetesConfig

clear()

public KubernetesConfig.Builder clear()
Returns
Type Description
KubernetesConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public KubernetesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
KubernetesConfig.Builder
Overrides

clearGatewayServiceMesh()

public KubernetesConfig.Builder clearGatewayServiceMesh()

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Returns
Type Description
KubernetesConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public KubernetesConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
KubernetesConfig.Builder
Overrides

clearServiceDefinition()

public KubernetesConfig.Builder clearServiceDefinition()
Returns
Type Description
KubernetesConfig.Builder

clearServiceNetworking()

public KubernetesConfig.Builder clearServiceNetworking()

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Returns
Type Description
KubernetesConfig.Builder

clone()

public KubernetesConfig.Builder clone()
Returns
Type Description
KubernetesConfig.Builder
Overrides

getDefaultInstanceForType()

public KubernetesConfig getDefaultInstanceForType()
Returns
Type Description
KubernetesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGatewayServiceMesh()

public KubernetesConfig.GatewayServiceMesh getGatewayServiceMesh()

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Returns
Type Description
KubernetesConfig.GatewayServiceMesh

The gatewayServiceMesh.

getGatewayServiceMeshBuilder()

public KubernetesConfig.GatewayServiceMesh.Builder getGatewayServiceMeshBuilder()

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Returns
Type Description
KubernetesConfig.GatewayServiceMesh.Builder

getGatewayServiceMeshOrBuilder()

public KubernetesConfig.GatewayServiceMeshOrBuilder getGatewayServiceMeshOrBuilder()

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Returns
Type Description
KubernetesConfig.GatewayServiceMeshOrBuilder

getServiceDefinitionCase()

public KubernetesConfig.ServiceDefinitionCase getServiceDefinitionCase()
Returns
Type Description
KubernetesConfig.ServiceDefinitionCase

getServiceNetworking()

public KubernetesConfig.ServiceNetworking getServiceNetworking()

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Returns
Type Description
KubernetesConfig.ServiceNetworking

The serviceNetworking.

getServiceNetworkingBuilder()

public KubernetesConfig.ServiceNetworking.Builder getServiceNetworkingBuilder()

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Returns
Type Description
KubernetesConfig.ServiceNetworking.Builder

getServiceNetworkingOrBuilder()

public KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder()

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Returns
Type Description
KubernetesConfig.ServiceNetworkingOrBuilder

hasGatewayServiceMesh()

public boolean hasGatewayServiceMesh()

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Returns
Type Description
boolean

Whether the gatewayServiceMesh field is set.

hasServiceNetworking()

public boolean hasServiceNetworking()

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Returns
Type Description
boolean

Whether the serviceNetworking field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(KubernetesConfig other)

public KubernetesConfig.Builder mergeFrom(KubernetesConfig other)
Parameter
Name Description
other KubernetesConfig
Returns
Type Description
KubernetesConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public KubernetesConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
KubernetesConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public KubernetesConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
KubernetesConfig.Builder
Overrides

mergeGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh value)

public KubernetesConfig.Builder mergeGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh value)

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Parameter
Name Description
value KubernetesConfig.GatewayServiceMesh
Returns
Type Description
KubernetesConfig.Builder

mergeServiceNetworking(KubernetesConfig.ServiceNetworking value)

public KubernetesConfig.Builder mergeServiceNetworking(KubernetesConfig.ServiceNetworking value)

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Parameter
Name Description
value KubernetesConfig.ServiceNetworking
Returns
Type Description
KubernetesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final KubernetesConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KubernetesConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
KubernetesConfig.Builder
Overrides

setGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh value)

public KubernetesConfig.Builder setGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh value)

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Parameter
Name Description
value KubernetesConfig.GatewayServiceMesh
Returns
Type Description
KubernetesConfig.Builder

setGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh.Builder builderForValue)

public KubernetesConfig.Builder setGatewayServiceMesh(KubernetesConfig.GatewayServiceMesh.Builder builderForValue)

Kubernetes Gateway API service mesh configuration.

.google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh gateway_service_mesh = 1;

Parameter
Name Description
builderForValue KubernetesConfig.GatewayServiceMesh.Builder
Returns
Type Description
KubernetesConfig.Builder

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

public KubernetesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
KubernetesConfig.Builder
Overrides

setServiceNetworking(KubernetesConfig.ServiceNetworking value)

public KubernetesConfig.Builder setServiceNetworking(KubernetesConfig.ServiceNetworking value)

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Parameter
Name Description
value KubernetesConfig.ServiceNetworking
Returns
Type Description
KubernetesConfig.Builder

setServiceNetworking(KubernetesConfig.ServiceNetworking.Builder builderForValue)

public KubernetesConfig.Builder setServiceNetworking(KubernetesConfig.ServiceNetworking.Builder builderForValue)

Kubernetes Service networking configuration.

.google.cloud.deploy.v1.KubernetesConfig.ServiceNetworking service_networking = 2;

Parameter
Name Description
builderForValue KubernetesConfig.ServiceNetworking.Builder
Returns
Type Description
KubernetesConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final KubernetesConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
KubernetesConfig.Builder
Overrides