Class KubernetesConfig (1.40.0)

public final class KubernetesConfig extends GeneratedMessageV3 implements KubernetesConfigOrBuilder

KubernetesConfig contains the Kubernetes runtime configuration.

Protobuf type google.cloud.deploy.v1.KubernetesConfig

Static Fields

GATEWAY_SERVICE_MESH_FIELD_NUMBER

public static final int GATEWAY_SERVICE_MESH_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NETWORKING_FIELD_NUMBER

public static final int SERVICE_NETWORKING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KubernetesConfig getDefaultInstance()
Returns
Type Description
KubernetesConfig

getDescriptor()

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

newBuilder()

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

newBuilder(KubernetesConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public KubernetesConfig getDefaultInstanceForType()
Returns
Type Description
KubernetesConfig

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
KubernetesConfig.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.Builder toBuilder()
Returns
Type Description
KubernetesConfig.Builder

writeTo(CodedOutputStream output)

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