Class RuntimeConfig.Builder (1.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

build()

public RuntimeConfig build()
Returns
TypeDescription
RuntimeConfig

buildPartial()

public RuntimeConfig buildPartial()
Returns
TypeDescription
RuntimeConfig

clear()

public RuntimeConfig.Builder clear()
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

clearCloudRun()

public RuntimeConfig.Builder clearCloudRun()

Cloud Run runtime configuration.

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

Returns
TypeDescription
RuntimeConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

clearKubernetes()

public RuntimeConfig.Builder clearKubernetes()

Kubernetes runtime configuration.

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

Returns
TypeDescription
RuntimeConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

clearRuntimeConfig()

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

clone()

public RuntimeConfig.Builder clone()
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

getCloudRun()

public CloudRunConfig getCloudRun()

Cloud Run runtime configuration.

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

Returns
TypeDescription
CloudRunConfig

The cloudRun.

getCloudRunBuilder()

public CloudRunConfig.Builder getCloudRunBuilder()

Cloud Run runtime configuration.

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

Returns
TypeDescription
CloudRunConfig.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKubernetes()

public KubernetesConfig getKubernetes()

Kubernetes runtime configuration.

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

Returns
TypeDescription
KubernetesConfig

The kubernetes.

getKubernetesBuilder()

public KubernetesConfig.Builder getKubernetesBuilder()

Kubernetes runtime configuration.

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

Returns
TypeDescription
KubernetesConfig.Builder

getKubernetesOrBuilder()

public KubernetesConfigOrBuilder getKubernetesOrBuilder()

Kubernetes runtime configuration.

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

Returns
TypeDescription
KubernetesConfigOrBuilder

getRuntimeConfigCase()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudRun(CloudRunConfig value)

public RuntimeConfig.Builder mergeCloudRun(CloudRunConfig value)

Cloud Run runtime configuration.

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

Parameter
NameDescription
valueCloudRunConfig
Returns
TypeDescription
RuntimeConfig.Builder

mergeFrom(RuntimeConfig other)

public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
Parameter
NameDescription
otherRuntimeConfig
Returns
TypeDescription
RuntimeConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RuntimeConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RuntimeConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

mergeKubernetes(KubernetesConfig value)

public RuntimeConfig.Builder mergeKubernetes(KubernetesConfig value)

Kubernetes runtime configuration.

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

Parameter
NameDescription
valueKubernetesConfig
Returns
TypeDescription
RuntimeConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCloudRunConfig
Returns
TypeDescription
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
NameDescription
builderForValueCloudRunConfig.Builder
Returns
TypeDescription
RuntimeConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

setKubernetes(KubernetesConfig value)

public RuntimeConfig.Builder setKubernetes(KubernetesConfig value)

Kubernetes runtime configuration.

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

Parameter
NameDescription
valueKubernetesConfig
Returns
TypeDescription
RuntimeConfig.Builder

setKubernetes(KubernetesConfig.Builder builderForValue)

public RuntimeConfig.Builder setKubernetes(KubernetesConfig.Builder builderForValue)

Kubernetes runtime configuration.

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

Parameter
NameDescription
builderForValueKubernetesConfig.Builder
Returns
TypeDescription
RuntimeConfig.Builder

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

public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RuntimeConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RuntimeConfig.Builder
Overrides