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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RuntimeConfig build()
buildPartial()
public RuntimeConfig buildPartial()
clear()
public RuntimeConfig.Builder clear()
Overrides
clearCloudRun()
public RuntimeConfig.Builder clearCloudRun()
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
clearField(Descriptors.FieldDescriptor field)
public RuntimeConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKubernetes()
public RuntimeConfig.Builder clearKubernetes()
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public RuntimeConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRuntimeConfig()
public RuntimeConfig.Builder clearRuntimeConfig()
clone()
public RuntimeConfig.Builder clone()
Overrides
getCloudRun()
public CloudRunConfig getCloudRun()
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
getCloudRunBuilder()
public CloudRunConfig.Builder getCloudRunBuilder()
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
getCloudRunOrBuilder()
public CloudRunConfigOrBuilder getCloudRunOrBuilder()
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
getDefaultInstanceForType()
public RuntimeConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKubernetes()
public KubernetesConfig getKubernetes()
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
getKubernetesBuilder()
public KubernetesConfig.Builder getKubernetesBuilder()
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
getKubernetesOrBuilder()
public KubernetesConfigOrBuilder getKubernetesOrBuilder()
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
getRuntimeConfigCase()
public RuntimeConfig.RuntimeConfigCase getRuntimeConfigCase()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCloudRun(CloudRunConfig value)
public RuntimeConfig.Builder mergeCloudRun(CloudRunConfig value)
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(RuntimeConfig other)
public RuntimeConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RuntimeConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeKubernetes(KubernetesConfig value)
public RuntimeConfig.Builder mergeKubernetes(KubernetesConfig value)
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCloudRun(CloudRunConfig value)
public RuntimeConfig.Builder setCloudRun(CloudRunConfig value)
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
setCloudRun(CloudRunConfig.Builder builderForValue)
public RuntimeConfig.Builder setCloudRun(CloudRunConfig.Builder builderForValue)
Cloud Run runtime configuration.
.google.cloud.deploy.v1.CloudRunConfig cloud_run = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public RuntimeConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKubernetes(KubernetesConfig value)
public RuntimeConfig.Builder setKubernetes(KubernetesConfig value)
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
setKubernetes(KubernetesConfig.Builder builderForValue)
public RuntimeConfig.Builder setKubernetes(KubernetesConfig.Builder builderForValue)
Kubernetes runtime configuration.
.google.cloud.deploy.v1.KubernetesConfig kubernetes = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RuntimeConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RuntimeConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides