Class RuntimeConfig.Builder (1.40.0)

public static final class RuntimeConfig.Builder extends GeneratedMessageV3.Builder<RuntimeConfig.Builder> implements RuntimeConfigOrBuilder

RuntimeConfig contains the runtime specific configurations for a deployment strategy.

Protobuf type google.cloud.deploy.v1.RuntimeConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

build()

public RuntimeConfig build()
Returns
Type Description
RuntimeConfig

buildPartial()

public RuntimeConfig buildPartial()
Returns
Type Description
RuntimeConfig

clear()

public RuntimeConfig.Builder clear()
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearCloudRun()

public RuntimeConfig.Builder clearCloudRun()

Cloud Run runtime configuration.

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

Returns
Type Description
RuntimeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearKubernetes()

public RuntimeConfig.Builder clearKubernetes()

Kubernetes runtime configuration.

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

Returns
Type Description
RuntimeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RuntimeConfig.Builder
Overrides

clearRuntimeConfig()

public RuntimeConfig.Builder clearRuntimeConfig()
Returns
Type Description
RuntimeConfig.Builder

clone()

public RuntimeConfig.Builder clone()
Returns
Type Description
RuntimeConfig.Builder
Overrides

getCloudRun()

public CloudRunConfig getCloudRun()

Cloud Run runtime configuration.

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

Returns
Type Description
CloudRunConfig

The cloudRun.

getCloudRunBuilder()

public CloudRunConfig.Builder getCloudRunBuilder()

Cloud Run runtime configuration.

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

Returns
Type Description
CloudRunConfig.Builder

getCloudRunOrBuilder()

public CloudRunConfigOrBuilder getCloudRunOrBuilder()

Cloud Run runtime configuration.

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

Returns
Type Description
CloudRunConfigOrBuilder

getDefaultInstanceForType()

public RuntimeConfig getDefaultInstanceForType()
Returns
Type Description
RuntimeConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKubernetes()

public KubernetesConfig getKubernetes()

Kubernetes runtime configuration.

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

Returns
Type Description
KubernetesConfig

The kubernetes.

getKubernetesBuilder()

public KubernetesConfig.Builder getKubernetesBuilder()

Kubernetes runtime configuration.

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

Returns
Type Description
KubernetesConfig.Builder

getKubernetesOrBuilder()

public KubernetesConfigOrBuilder getKubernetesOrBuilder()

Kubernetes runtime configuration.

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

Returns
Type Description
KubernetesConfigOrBuilder

getRuntimeConfigCase()

public RuntimeConfig.RuntimeConfigCase getRuntimeConfigCase()
Returns
Type Description
RuntimeConfig.RuntimeConfigCase

hasCloudRun()

public boolean hasCloudRun()

Cloud Run runtime configuration.

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

Returns
Type Description
boolean

Whether the cloudRun field is set.

hasKubernetes()

public boolean hasKubernetes()

Kubernetes runtime configuration.

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

Returns
Type Description
boolean

Whether the kubernetes field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudRun(CloudRunConfig value)

public RuntimeConfig.Builder mergeCloudRun(CloudRunConfig value)

Cloud Run runtime configuration.

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

Parameter
Name Description
value CloudRunConfig
Returns
Type Description
RuntimeConfig.Builder

mergeFrom(RuntimeConfig other)

public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
Parameter
Name Description
other RuntimeConfig
Returns
Type Description
RuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RuntimeConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RuntimeConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RuntimeConfig.Builder
Overrides

mergeKubernetes(KubernetesConfig value)

public RuntimeConfig.Builder mergeKubernetes(KubernetesConfig value)

Kubernetes runtime configuration.

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

Parameter
Name Description
value KubernetesConfig
Returns
Type Description
RuntimeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.Builder
Overrides

setCloudRun(CloudRunConfig value)

public RuntimeConfig.Builder setCloudRun(CloudRunConfig value)

Cloud Run runtime configuration.

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

Parameter
Name Description
value CloudRunConfig
Returns
Type Description
RuntimeConfig.Builder

setCloudRun(CloudRunConfig.Builder builderForValue)

public RuntimeConfig.Builder setCloudRun(CloudRunConfig.Builder builderForValue)

Cloud Run runtime configuration.

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

Parameter
Name Description
builderForValue CloudRunConfig.Builder
Returns
Type Description
RuntimeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

setKubernetes(KubernetesConfig value)

public RuntimeConfig.Builder setKubernetes(KubernetesConfig value)

Kubernetes runtime configuration.

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

Parameter
Name Description
value KubernetesConfig
Returns
Type Description
RuntimeConfig.Builder

setKubernetes(KubernetesConfig.Builder builderForValue)

public RuntimeConfig.Builder setKubernetes(KubernetesConfig.Builder builderForValue)

Kubernetes runtime configuration.

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

Parameter
Name Description
builderForValue KubernetesConfig.Builder
Returns
Type Description
RuntimeConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RuntimeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RuntimeConfig.Builder
Overrides