public static final class CloudRunConfig.Builder extends GeneratedMessageV3.Builder<CloudRunConfig.Builder> implements CloudRunConfigOrBuilder
CloudRunConfig contains the Cloud Run runtime configuration.
Protobuf type google.cloud.deploy.v1.CloudRunConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 CloudRunConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CloudRunConfig build()
buildPartial()
public CloudRunConfig buildPartial()
clear()
public CloudRunConfig.Builder clear()
Overrides
clearAutomaticTrafficControl()
public CloudRunConfig.Builder clearAutomaticTrafficControl()
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting. This is
required to be true for CanaryDeployments, but optional for
CustomCanaryDeployments.
bool automatic_traffic_control = 1;
clearField(Descriptors.FieldDescriptor field)
public CloudRunConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudRunConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CloudRunConfig.Builder clone()
Overrides
getAutomaticTrafficControl()
public boolean getAutomaticTrafficControl()
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting. This is
required to be true for CanaryDeployments, but optional for
CustomCanaryDeployments.
bool automatic_traffic_control = 1;
Returns |
---|
Type | Description |
boolean | The automaticTrafficControl.
|
getDefaultInstanceForType()
public CloudRunConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CloudRunConfig other)
public CloudRunConfig.Builder mergeFrom(CloudRunConfig other)
public CloudRunConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CloudRunConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAutomaticTrafficControl(boolean value)
public CloudRunConfig.Builder setAutomaticTrafficControl(boolean value)
Whether Cloud Deploy should update the traffic stanza in a Cloud Run
Service on the user's behalf to facilitate traffic splitting. This is
required to be true for CanaryDeployments, but optional for
CustomCanaryDeployments.
bool automatic_traffic_control = 1;
Parameter |
---|
Name | Description |
value | boolean
The automaticTrafficControl to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CloudRunConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudRunConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudRunConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides