Class Config (1.7.0)

public final class Config extends GeneratedMessageV3 implements ConfigOrBuilder

Service-wide configuration.

Protobuf type google.cloud.deploy.v1.Config

Implements

ConfigOrBuilder

Static Fields

DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER

public static final int DEFAULT_SKAFFOLD_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_VERSIONS_FIELD_NUMBER

public static final int SUPPORTED_VERSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Config getDefaultInstance()
Returns
TypeDescription
Config

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Config.Builder newBuilder()
Returns
TypeDescription
Config.Builder

newBuilder(Config prototype)

public static Config.Builder newBuilder(Config prototype)
Parameter
NameDescription
prototypeConfig
Returns
TypeDescription
Config.Builder

parseDelimitedFrom(InputStream input)

public static Config parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Config parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Config parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Config parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Config parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Config parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Config parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Config parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Config parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Config parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Config parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Config parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Config
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Config> parser()
Returns
TypeDescription
Parser<Config>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Config getDefaultInstanceForType()
Returns
TypeDescription
Config

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
TypeDescription
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
TypeDescription
ByteString

The bytes for defaultSkaffoldVersion.

getName()

public String getName()

Name of the configuration.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the configuration.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Config> getParserForType()
Returns
TypeDescription
Parser<Config>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
SkaffoldVersion

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
TypeDescription
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];

Returns
TypeDescription
List<SkaffoldVersion>

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
NameDescription
indexint
Returns
TypeDescription
SkaffoldVersionOrBuilder

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
TypeDescription
List<? extends com.google.cloud.deploy.v1.SkaffoldVersionOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Config.Builder newBuilderForType()
Returns
TypeDescription
Config.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Config.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Config.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Config.Builder toBuilder()
Returns
TypeDescription
Config.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException