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()
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>
|
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)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
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];
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 |
---|
Name | Description |
index | int
|
build()
buildPartial()
public Config buildPartial()
clear()
public Config.Builder clear()
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];
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()
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Config.Builder clone()
Overrides
getDefaultInstanceForType()
public Config getDefaultInstanceForType()
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()
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)
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 |
index | int
|
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 |
---|
Name | Description |
index | int
|
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];
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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()
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)
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 |
index | int
|
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.
|
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.
|
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)
Output only. All supported versions of Skaffold.
repeated .google.cloud.deploy.v1.SkaffoldVersion supported_versions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides