Class SkaffoldModules.Builder (1.43.0)

public static final class SkaffoldModules.Builder extends GeneratedMessageV3.Builder<SkaffoldModules.Builder> implements SkaffoldModulesOrBuilder

Skaffold Config modules and their remote source.

Protobuf type google.cloud.deploy.v1.SkaffoldModules

Static Methods

getDescriptor()

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

Methods

addAllConfigs(Iterable<String> values)

public SkaffoldModules.Builder addAllConfigs(Iterable<String> values)

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

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

Parameter
Name Description
values Iterable<String>

The configs to add.

Returns
Type Description
SkaffoldModules.Builder

This builder for chaining.

addConfigs(String value)

public SkaffoldModules.Builder addConfigs(String value)

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

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

Parameter
Name Description
value String

The configs to add.

Returns
Type Description
SkaffoldModules.Builder

This builder for chaining.

addConfigsBytes(ByteString value)

public SkaffoldModules.Builder addConfigsBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes of the configs to add.

Returns
Type Description
SkaffoldModules.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkaffoldModules.Builder
Overrides

build()

public SkaffoldModules build()
Returns
Type Description
SkaffoldModules

buildPartial()

public SkaffoldModules buildPartial()
Returns
Type Description
SkaffoldModules

clear()

public SkaffoldModules.Builder clear()
Returns
Type Description
SkaffoldModules.Builder
Overrides

clearConfigs()

public SkaffoldModules.Builder clearConfigs()

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

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

Returns
Type Description
SkaffoldModules.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SkaffoldModules.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SkaffoldModules.Builder
Overrides

clearGit()

public SkaffoldModules.Builder clearGit()

Remote git repository containing the Skaffold Config modules.

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

Returns
Type Description
SkaffoldModules.Builder

clearGoogleCloudBuildRepo()

public SkaffoldModules.Builder clearGoogleCloudBuildRepo()

Cloud Build V2 repository containing the Skaffold Config modules.

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

Returns
Type Description
SkaffoldModules.Builder

clearGoogleCloudStorage()

public SkaffoldModules.Builder clearGoogleCloudStorage()

Cloud Storage bucket containing the Skaffold Config modules.

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

Returns
Type Description
SkaffoldModules.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldModules.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SkaffoldModules.Builder
Overrides

clearSource()

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

clone()

public SkaffoldModules.Builder clone()
Returns
Type Description
SkaffoldModules.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getGitBuilder()

public SkaffoldModules.SkaffoldGitSource.Builder getGitBuilder()

Remote git repository containing the Skaffold Config modules.

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

Returns
Type Description
SkaffoldModules.SkaffoldGitSource.Builder

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.

getGoogleCloudBuildRepoBuilder()

public SkaffoldModules.SkaffoldGCBRepoSource.Builder getGoogleCloudBuildRepoBuilder()

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.Builder

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.

getGoogleCloudStorageBuilder()

public SkaffoldModules.SkaffoldGCSSource.Builder getGoogleCloudStorageBuilder()

Cloud Storage bucket containing the Skaffold Config modules.

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

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SkaffoldModules other)

public SkaffoldModules.Builder mergeFrom(SkaffoldModules other)
Parameter
Name Description
other SkaffoldModules
Returns
Type Description
SkaffoldModules.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkaffoldModules.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SkaffoldModules.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SkaffoldModules.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SkaffoldModules.Builder
Overrides

mergeGit(SkaffoldModules.SkaffoldGitSource value)

public SkaffoldModules.Builder mergeGit(SkaffoldModules.SkaffoldGitSource value)

Remote git repository containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGitSource
Returns
Type Description
SkaffoldModules.Builder

mergeGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)

public SkaffoldModules.Builder mergeGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)

Cloud Build V2 repository containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGCBRepoSource
Returns
Type Description
SkaffoldModules.Builder

mergeGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)

public SkaffoldModules.Builder mergeGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)

Cloud Storage bucket containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGCSSource
Returns
Type Description
SkaffoldModules.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkaffoldModules.Builder
Overrides

setConfigs(int index, String value)

public SkaffoldModules.Builder setConfigs(int index, String value)

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

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

Parameters
Name Description
index int

The index to set the value at.

value String

The configs to set.

Returns
Type Description
SkaffoldModules.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SkaffoldModules.Builder
Overrides

setGit(SkaffoldModules.SkaffoldGitSource value)

public SkaffoldModules.Builder setGit(SkaffoldModules.SkaffoldGitSource value)

Remote git repository containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGitSource
Returns
Type Description
SkaffoldModules.Builder

setGit(SkaffoldModules.SkaffoldGitSource.Builder builderForValue)

public SkaffoldModules.Builder setGit(SkaffoldModules.SkaffoldGitSource.Builder builderForValue)

Remote git repository containing the Skaffold Config modules.

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

Parameter
Name Description
builderForValue SkaffoldModules.SkaffoldGitSource.Builder
Returns
Type Description
SkaffoldModules.Builder

setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)

public SkaffoldModules.Builder setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value)

Cloud Build V2 repository containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGCBRepoSource
Returns
Type Description
SkaffoldModules.Builder

setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource.Builder builderForValue)

public SkaffoldModules.Builder setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource.Builder builderForValue)

Cloud Build V2 repository containing the Skaffold Config modules.

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

Parameter
Name Description
builderForValue SkaffoldModules.SkaffoldGCBRepoSource.Builder
Returns
Type Description
SkaffoldModules.Builder

setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)

public SkaffoldModules.Builder setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource value)

Cloud Storage bucket containing the Skaffold Config modules.

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

Parameter
Name Description
value SkaffoldModules.SkaffoldGCSSource
Returns
Type Description
SkaffoldModules.Builder

setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource.Builder builderForValue)

public SkaffoldModules.Builder setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource.Builder builderForValue)

Cloud Storage bucket containing the Skaffold Config modules.

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

Parameter
Name Description
builderForValue SkaffoldModules.SkaffoldGCSSource.Builder
Returns
Type Description
SkaffoldModules.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SkaffoldModules.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SkaffoldModules.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SkaffoldModules.Builder
Overrides