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

DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER

public static final int DISABLE_POD_OVERPROVISIONING_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static KubernetesConfig.ServiceNetworking getDefaultInstance()
Returns
TypeDescription
KubernetesConfig.ServiceNetworking

getDescriptor()

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

newBuilder()

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

newBuilder(KubernetesConfig.ServiceNetworking prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public KubernetesConfig.ServiceNetworking getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The disablePodOverprovisioning.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public String getService()

Required. Name of the Kubernetes Service.

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

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Required. Name of the Kubernetes Service.

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

Returns
TypeDescription
ByteString

The bytes for service.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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