Class SkaffoldModules (1.53.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
Type Description
int

GIT_FIELD_NUMBER

public static final int GIT_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_CLOUD_BUILD_REPO_FIELD_NUMBER

public static final int GOOGLE_CLOUD_BUILD_REPO_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_CLOUD_STORAGE_FIELD_NUMBER

public static final int GOOGLE_CLOUD_STORAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SkaffoldModules getDefaultInstance()
Returns
Type Description
SkaffoldModules

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SkaffoldModules.Builder newBuilder()
Returns
Type Description
SkaffoldModules.Builder

newBuilder(SkaffoldModules prototype)

public static SkaffoldModules.Builder newBuilder(SkaffoldModules prototype)
Parameter
Name Description
prototype SkaffoldModules
Returns
Type Description
SkaffoldModules.Builder

parseDelimitedFrom(InputStream input)

public static SkaffoldModules parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SkaffoldModules parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SkaffoldModules parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SkaffoldModules parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SkaffoldModules parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SkaffoldModules parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SkaffoldModules parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SkaffoldModules> parser()
Returns
Type Description
Parser<SkaffoldModules>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the configs.

getDefaultInstanceForType()

public SkaffoldModules getDefaultInstanceForType()
Returns
Type Description
SkaffoldModules

getGit()

public SkaffoldModules.SkaffoldGitSource getGit()

Remote git repository containing the Skaffold Config modules.

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

Returns
Type Description
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
Type Description
SkaffoldModules.SkaffoldGitSourceOrBuilder

getGoogleCloudBuildRepo()

public SkaffoldModules.SkaffoldGCBRepoSource getGoogleCloudBuildRepo()

Cloud Build V2 repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4;

Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSource

The googleCloudBuildRepo.

getGoogleCloudBuildRepoOrBuilder()

public SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder getGoogleCloudBuildRepoOrBuilder()

Cloud Build V2 repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4;

Returns
Type Description
SkaffoldModules.SkaffoldGCBRepoSourceOrBuilder

getGoogleCloudStorage()

public SkaffoldModules.SkaffoldGCSSource getGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

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

Returns
Type Description
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
Type Description
SkaffoldModules.SkaffoldGCSSourceOrBuilder

getParserForType()

public Parser<SkaffoldModules> getParserForType()
Returns
Type Description
Parser<SkaffoldModules>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public SkaffoldModules.SourceCase getSourceCase()
Returns
Type Description
SkaffoldModules.SourceCase

hasGit()

public boolean hasGit()

Remote git repository containing the Skaffold Config modules.

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

Returns
Type Description
boolean

Whether the git field is set.

hasGoogleCloudBuildRepo()

public boolean hasGoogleCloudBuildRepo()

Cloud Build V2 repository containing the Skaffold Config modules.

.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4;

Returns
Type Description
boolean

Whether the googleCloudBuildRepo 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
Type Description
boolean

Whether the googleCloudStorage field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SkaffoldModules.Builder newBuilderForType()
Returns
Type Description
SkaffoldModules.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SkaffoldModules.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SkaffoldModules.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SkaffoldModules.Builder toBuilder()
Returns
Type Description
SkaffoldModules.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException