public static final class Config.Builder extends GeneratedMessageV3.Builder<Config.Builder> implements ConfigOrBuilder
Service-wide configuration.
Protobuf type google.cloud.deploy.v1.Config
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()
Returns
Methods
addAllSupportedVersions(Iterable<? extends SkaffoldVersion> values)
public Config.Builder addAllSupportedVersions(Iterable<? extends SkaffoldVersion> values)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.deploy.v1.SkaffoldVersion>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSupportedVersions(SkaffoldVersion value)
public Config.Builder addSupportedVersions(SkaffoldVersion value)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
addSupportedVersions(SkaffoldVersion.Builder builderForValue)
public Config.Builder addSupportedVersions(SkaffoldVersion.Builder builderForValue)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
addSupportedVersions(int index, SkaffoldVersion value)
public Config.Builder addSupportedVersions(int index, SkaffoldVersion value)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
addSupportedVersions(int index, SkaffoldVersion.Builder builderForValue)
public Config.Builder addSupportedVersions(int index, SkaffoldVersion.Builder builderForValue)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
addSupportedVersionsBuilder()
public SkaffoldVersion.Builder addSupportedVersionsBuilder()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
addSupportedVersionsBuilder(int index)
public SkaffoldVersion.Builder addSupportedVersionsBuilder(int index)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
build()
Returns
buildPartial()
public Config buildPartial()
Returns
clear()
public Config.Builder clear()
Returns
Overrides
clearDefaultSkaffoldVersion()
public Config.Builder clearDefaultSkaffoldVersion()
Output only. Default Skaffold version that is assigned when a Release is created without
specifying a Skaffold version.
string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearField(Descriptors.FieldDescriptor field)
public Config.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Config.Builder clearName()
Name of the configuration.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSupportedVersions()
public Config.Builder clearSupportedVersions()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public Config.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Config getDefaultInstanceForType()
Returns
getDefaultSkaffoldVersion()
public String getDefaultSkaffoldVersion()
Output only. Default Skaffold version that is assigned when a Release is created without
specifying a Skaffold version.
string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The defaultSkaffoldVersion.
|
getDefaultSkaffoldVersionBytes()
public ByteString getDefaultSkaffoldVersionBytes()
Output only. Default Skaffold version that is assigned when a Release is created without
specifying a Skaffold version.
string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for defaultSkaffoldVersion.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Name of the configuration.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the configuration.
string name = 1;
Returns
getSupportedVersions(int index)
public SkaffoldVersion getSupportedVersions(int index)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getSupportedVersionsBuilder(int index)
public SkaffoldVersion.Builder getSupportedVersionsBuilder(int index)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getSupportedVersionsBuilderList()
public List<SkaffoldVersion.Builder> getSupportedVersionsBuilderList()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSupportedVersionsCount()
public int getSupportedVersionsCount()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSupportedVersionsList()
public List<SkaffoldVersion> getSupportedVersionsList()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getSupportedVersionsOrBuilder(int index)
public SkaffoldVersionOrBuilder getSupportedVersionsOrBuilder(int index)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
getSupportedVersionsOrBuilderList()
public List<? extends SkaffoldVersionOrBuilder> getSupportedVersionsOrBuilderList()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
List<? extends com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Config other)
public Config.Builder mergeFrom(Config other)
Parameter
Returns
public Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Config.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSupportedVersions(int index)
public Config.Builder removeSupportedVersions(int index)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Returns
setDefaultSkaffoldVersion(String value)
public Config.Builder setDefaultSkaffoldVersion(String value)
Output only. Default Skaffold version that is assigned when a Release is created without
specifying a Skaffold version.
string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The defaultSkaffoldVersion to set.
|
Returns
setDefaultSkaffoldVersionBytes(ByteString value)
public Config.Builder setDefaultSkaffoldVersionBytes(ByteString value)
Output only. Default Skaffold version that is assigned when a Release is created without
specifying a Skaffold version.
string default_skaffold_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for defaultSkaffoldVersion to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Config.Builder setName(String value)
Name of the configuration.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Config.Builder setNameBytes(ByteString value)
Name of the configuration.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSupportedVersions(int index, SkaffoldVersion value)
public Config.Builder setSupportedVersions(int index, SkaffoldVersion value)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
setSupportedVersions(int index, SkaffoldVersion.Builder builderForValue)
public Config.Builder setSupportedVersions(int index, SkaffoldVersion.Builder builderForValue)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides