Class SkaffoldModules.Builder (1.38.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
TypeDescription
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
NameDescription
valuesIterable<String>

The configs to add.

Returns
TypeDescription
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
NameDescription
valueString

The configs to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the configs to add.

Returns
TypeDescription
SkaffoldModules.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SkaffoldModules.Builder
Overrides

build()

public SkaffoldModules build()
Returns
TypeDescription
SkaffoldModules

buildPartial()

public SkaffoldModules buildPartial()
Returns
TypeDescription
SkaffoldModules

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SkaffoldModules.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SkaffoldModules.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldModules.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SkaffoldModules.Builder
Overrides

clearSource()

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getGitBuilder()

public SkaffoldModules.SkaffoldGitSource.Builder getGitBuilder()

Remote git repository containing the Skaffold Config modules.

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

Returns
TypeDescription
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
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.

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
TypeDescription
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
TypeDescription
SkaffoldModules.SkaffoldGCSSourceOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SkaffoldModules other)

public SkaffoldModules.Builder mergeFrom(SkaffoldModules other)
Parameter
NameDescription
otherSkaffoldModules
Returns
TypeDescription
SkaffoldModules.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SkaffoldModules.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SkaffoldModules.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SkaffoldModules.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSkaffoldModules.SkaffoldGitSource
Returns
TypeDescription
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
NameDescription
valueSkaffoldModules.SkaffoldGCSSource
Returns
TypeDescription
SkaffoldModules.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The configs to set.

Returns
TypeDescription
SkaffoldModules.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SkaffoldModules.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSkaffoldModules.SkaffoldGitSource
Returns
TypeDescription
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
NameDescription
builderForValueSkaffoldModules.SkaffoldGitSource.Builder
Returns
TypeDescription
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
NameDescription
valueSkaffoldModules.SkaffoldGCSSource
Returns
TypeDescription
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
NameDescription
builderForValueSkaffoldModules.SkaffoldGCSSource.Builder
Returns
TypeDescription
SkaffoldModules.Builder

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

public SkaffoldModules.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SkaffoldModules.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SkaffoldModules.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SkaffoldModules.Builder
Overrides