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