Class SkaffoldModules.SkaffoldGCSSource.Builder (1.45.0)

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

Cloud Storage bucket containing Skaffold Config modules.

Protobuf type google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SkaffoldModules.SkaffoldGCSSource build()
Returns
Type Description
SkaffoldModules.SkaffoldGCSSource

buildPartial()

public SkaffoldModules.SkaffoldGCSSource buildPartial()
Returns
Type Description
SkaffoldModules.SkaffoldGCSSource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public SkaffoldModules.SkaffoldGCSSource.Builder clearPath()

Optional. Relative path from the source to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

clearSource()

public SkaffoldModules.SkaffoldGCSSource.Builder clearSource()

Required. Cloud Storage source paths to copy recursively. For example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all files within the "dir/configs" directory in the bucket "my-bucket".

string source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

clone()

public SkaffoldModules.SkaffoldGCSSource.Builder clone()
Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder
Overrides

getDefaultInstanceForType()

public SkaffoldModules.SkaffoldGCSSource getDefaultInstanceForType()
Returns
Type Description
SkaffoldModules.SkaffoldGCSSource

getDescriptorForType()

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

getPath()

public String getPath()

Optional. Relative path from the source to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Optional. Relative path from the source to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.

getSource()

public String getSource()

Required. Cloud Storage source paths to copy recursively. For example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all files within the "dir/configs" directory in the bucket "my-bucket".

string source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. Cloud Storage source paths to copy recursively. For example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all files within the "dir/configs" directory in the bucket "my-bucket".

string source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for source.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SkaffoldModules.SkaffoldGCSSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public SkaffoldModules.SkaffoldGCSSource.Builder setPath(String value)

Optional. Relative path from the source to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

setPathBytes(ByteString value)

public SkaffoldModules.SkaffoldGCSSource.Builder setPathBytes(ByteString value)

Optional. Relative path from the source to the Skaffold file.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

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

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

setSource(String value)

public SkaffoldModules.SkaffoldGCSSource.Builder setSource(String value)

Required. Cloud Storage source paths to copy recursively. For example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all files within the "dir/configs" directory in the bucket "my-bucket".

string source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The source to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public SkaffoldModules.SkaffoldGCSSource.Builder setSourceBytes(ByteString value)

Required. Cloud Storage source paths to copy recursively. For example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying all files within the "dir/configs" directory in the bucket "my-bucket".

string source = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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