Class KubernetesConfig.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public KubernetesConfig build()
Returns
TypeDescription
KubernetesConfig

buildPartial()

public KubernetesConfig buildPartial()
Returns
TypeDescription
KubernetesConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public KubernetesConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
KubernetesConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceDefinition()

public KubernetesConfig.Builder clearServiceDefinition()
Returns
TypeDescription
KubernetesConfig.Builder

clearServiceNetworking()

public KubernetesConfig.Builder clearServiceNetworking()

Kubernetes Service networking configuration.

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

Returns
TypeDescription
KubernetesConfig.Builder

clone()

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

getDefaultInstanceForType()

public KubernetesConfig getDefaultInstanceForType()
Returns
TypeDescription
KubernetesConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGatewayServiceMesh()

public KubernetesConfig.GatewayServiceMesh getGatewayServiceMesh()

Kubernetes Gateway API service mesh configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
KubernetesConfig.GatewayServiceMeshOrBuilder

getServiceDefinitionCase()

public KubernetesConfig.ServiceDefinitionCase getServiceDefinitionCase()
Returns
TypeDescription
KubernetesConfig.ServiceDefinitionCase

getServiceNetworking()

public KubernetesConfig.ServiceNetworking getServiceNetworking()

Kubernetes Service networking configuration.

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

Returns
TypeDescription
KubernetesConfig.ServiceNetworking

The serviceNetworking.

getServiceNetworkingBuilder()

public KubernetesConfig.ServiceNetworking.Builder getServiceNetworkingBuilder()

Kubernetes Service networking configuration.

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

Returns
TypeDescription
KubernetesConfig.ServiceNetworking.Builder

getServiceNetworkingOrBuilder()

public KubernetesConfig.ServiceNetworkingOrBuilder getServiceNetworkingOrBuilder()

Kubernetes Service networking configuration.

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

Returns
TypeDescription
KubernetesConfig.ServiceNetworkingOrBuilder

hasGatewayServiceMesh()

public boolean hasGatewayServiceMesh()

Kubernetes Gateway API service mesh configuration.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the serviceNetworking field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(KubernetesConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public KubernetesConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueKubernetesConfig.GatewayServiceMesh
Returns
TypeDescription
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
NameDescription
valueKubernetesConfig.ServiceNetworking
Returns
TypeDescription
KubernetesConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public KubernetesConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueKubernetesConfig.GatewayServiceMesh
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesConfig.GatewayServiceMesh.Builder
Returns
TypeDescription
KubernetesConfig.Builder

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

public KubernetesConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueKubernetesConfig.ServiceNetworking
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesConfig.ServiceNetworking.Builder
Returns
TypeDescription
KubernetesConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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