Class SkaffoldModules (1.31.0)

public final class SkaffoldModules extends GeneratedMessageV3 implements SkaffoldModulesOrBuilder

Skaffold Config modules and their remote source.

Protobuf type google.cloud.deploy.v1.SkaffoldModules

Static Fields

CONFIGS_FIELD_NUMBER

public static final int CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

GIT_FIELD_NUMBER

public static final int GIT_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_CLOUD_STORAGE_FIELD_NUMBER

public static final int GOOGLE_CLOUD_STORAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SkaffoldModules getDefaultInstance()
Returns
TypeDescription
SkaffoldModules

getDescriptor()

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

newBuilder()

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

newBuilder(SkaffoldModules prototype)

public static SkaffoldModules.Builder newBuilder(SkaffoldModules prototype)
Parameter
NameDescription
prototypeSkaffoldModules
Returns
TypeDescription
SkaffoldModules.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfigs(int index)

public String getConfigs(int index)

Optional. The Skaffold Config modules to use from the specified source.

repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The configs at the given index.

getConfigsBytes(int index)

public ByteString getConfigsBytes(int index)

Optional. The Skaffold Config modules to use from the specified source.

repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the configs at the given index.

getConfigsCount()

public int getConfigsCount()

Optional. The Skaffold Config modules to use from the specified source.

repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of configs.

getConfigsList()

public ProtocolStringList getConfigsList()

Optional. The Skaffold Config modules to use from the specified source.

repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the configs.

getDefaultInstanceForType()

public SkaffoldModules getDefaultInstanceForType()
Returns
TypeDescription
SkaffoldModules

getGit()

public SkaffoldModules.SkaffoldGitSource getGit()

Remote git repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;

Returns
TypeDescription
SkaffoldModules.SkaffoldGitSource

The git.

getGitOrBuilder()

public SkaffoldModules.SkaffoldGitSourceOrBuilder getGitOrBuilder()

Remote git repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;

Returns
TypeDescription
SkaffoldModules.SkaffoldGitSourceOrBuilder

getGoogleCloudStorage()

public SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;

Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource

The googleCloudStorage.

getGoogleCloudStorageOrBuilder()

public SkaffoldModules.SkaffoldGCSSourceOrBuilder getGoogleCloudStorageOrBuilder()

Cloud Storage bucket containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;

Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSourceOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public SkaffoldModules.SourceCase getSourceCase()
Returns
TypeDescription
SkaffoldModules.SourceCase

hasGit()

public boolean hasGit()

Remote git repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2;

Returns
TypeDescription
boolean

Whether the git field is set.

hasGoogleCloudStorage()

public boolean hasGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3;

Returns
TypeDescription
boolean

Whether the googleCloudStorage field is set.

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 SkaffoldModules.Builder newBuilderForType()
Returns
TypeDescription
SkaffoldModules.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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