Class KubernetesConfig (1.21.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
TypeDescription
int

SERVICE_NETWORKING_FIELD_NUMBER

public static final int SERVICE_NETWORKING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KubernetesConfig getDefaultInstance()
Returns
TypeDescription
KubernetesConfig

getDescriptor()

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

newBuilder()

public static KubernetesConfig.Builder newBuilder()
Returns
TypeDescription
KubernetesConfig.Builder

newBuilder(KubernetesConfig prototype)

public static KubernetesConfig.Builder newBuilder(KubernetesConfig prototype)
Parameter
NameDescription
prototypeKubernetesConfig
Returns
TypeDescription
KubernetesConfig.Builder

parseDelimitedFrom(InputStream input)

public static KubernetesConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static KubernetesConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static KubernetesConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static KubernetesConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static KubernetesConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static KubernetesConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static KubernetesConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
KubernetesConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<KubernetesConfig> parser()
Returns
TypeDescription
Parser<KubernetesConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public KubernetesConfig getDefaultInstanceForType()
Returns
TypeDescription
KubernetesConfig

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.

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

getParserForType()

public Parser<KubernetesConfig> getParserForType()
Returns
TypeDescription
Parser<KubernetesConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected KubernetesConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
KubernetesConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException