Class KubernetesConfig.ServiceNetworking (1.41.0)

public static final class KubernetesConfig.ServiceNetworking extends GeneratedMessageV3 implements KubernetesConfig.ServiceNetworkingOrBuilder

Information about the Kubernetes Service networking configuration.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > KubernetesConfig.ServiceNetworking

Static Fields

DEPLOYMENT_FIELD_NUMBER

public static final int DEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER

public static final int DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static KubernetesConfig.ServiceNetworking getDefaultInstance()
Returns
Type Description
KubernetesConfig.ServiceNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(KubernetesConfig.ServiceNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public KubernetesConfig.ServiceNetworking getDefaultInstanceForType()
Returns
Type Description
KubernetesConfig.ServiceNetworking

getDeployment()

public String getDeployment()

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

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

Returns
Type Description
String

The deployment.

getDeploymentBytes()

public ByteString getDeploymentBytes()

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

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

Returns
Type Description
ByteString

The bytes for deployment.

getDisablePodOverprovisioning()

public boolean getDisablePodOverprovisioning()

Optional. Whether to disable Pod overprovisioning. If Pod overprovisioning is disabled then Cloud Deploy will limit the number of total Pods used for the deployment strategy to the number of Pods the Deployment has on the cluster.

bool disable_pod_overprovisioning = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disablePodOverprovisioning.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getService()

public String getService()

Required. Name of the Kubernetes Service.

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

Returns
Type Description
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. Name of the Kubernetes Service.

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

Returns
Type Description
ByteString

The bytes for service.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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