Class RuntimeConfig (1.12.0)

public final class RuntimeConfig extends GeneratedMessageV3 implements RuntimeConfigOrBuilder

RuntimeConfig contains the runtime specific configurations for a deployment strategy.

Protobuf type google.cloud.deploy.v1.RuntimeConfig

Static Fields

CLOUD_RUN_FIELD_NUMBER

public static final int CLOUD_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

KUBERNETES_FIELD_NUMBER

public static final int KUBERNETES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RuntimeConfig getDefaultInstance()
Returns
TypeDescription
RuntimeConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RuntimeConfig prototype)

public static RuntimeConfig.Builder newBuilder(RuntimeConfig prototype)
Parameter
NameDescription
prototypeRuntimeConfig
Returns
TypeDescription
RuntimeConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCloudRun()

public CloudRunConfig getCloudRun()

Cloud Run runtime configuration.

.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;

Returns
TypeDescription
CloudRunConfig

The cloudRun.

getCloudRunOrBuilder()

public CloudRunConfigOrBuilder getCloudRunOrBuilder()

Cloud Run runtime configuration.

.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;

Returns
TypeDescription
CloudRunConfigOrBuilder

getDefaultInstanceForType()

public RuntimeConfig getDefaultInstanceForType()
Returns
TypeDescription
RuntimeConfig

getKubernetes()

public KubernetesConfig getKubernetes()

Kubernetes runtime configuration.

.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;

Returns
TypeDescription
KubernetesConfig

The kubernetes.

getKubernetesOrBuilder()

public KubernetesConfigOrBuilder getKubernetesOrBuilder()

Kubernetes runtime configuration.

.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;

Returns
TypeDescription
KubernetesConfigOrBuilder

getParserForType()

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

getRuntimeConfigCase()

public RuntimeConfig.RuntimeConfigCase getRuntimeConfigCase()
Returns
TypeDescription
RuntimeConfig.RuntimeConfigCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCloudRun()

public boolean hasCloudRun()

Cloud Run runtime configuration.

.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;

Returns
TypeDescription
boolean

Whether the cloudRun field is set.

hasKubernetes()

public boolean hasKubernetes()

Kubernetes runtime configuration.

.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;

Returns
TypeDescription
boolean

Whether the kubernetes 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 RuntimeConfig.Builder newBuilderForType()
Returns
TypeDescription
RuntimeConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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