public final class Config extends GeneratedMessageV3 implements ConfigOrBuilder
Service-wide configuration.
Protobuf type google.cloud.deploy.v1.Config
Static Fields
DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER
public static final int DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SUPPORTED_VERSIONS_FIELD_NUMBER
public static final int SUPPORTED_VERSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Config getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Config.Builder newBuilder()
Returns
newBuilder(Config prototype)
public static Config.Builder newBuilder(Config prototype)
Parameter
Name | Description |
prototype | Config
|
Returns
public static Config parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Config parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Config parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Config parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Config parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Config parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Config parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Config parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Config parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Config parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Config parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Config parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Config> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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.
|
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
getParserForType()
public Parser<Config> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Config.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Config.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Config.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions