Class SkaffoldModules.SkaffoldGCSSource.Builder (1.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SkaffoldModules.SkaffoldGCSSource build()
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource

buildPartial()

public SkaffoldModules.SkaffoldGCSSource buildPartial()
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource

clear()

public SkaffoldModules.SkaffoldGCSSource.Builder clear()
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SkaffoldModules.SkaffoldGCSSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SkaffoldModules.SkaffoldGCSSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

clone()

public SkaffoldModules.SkaffoldGCSSource.Builder clone()
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder
Overrides

getDefaultInstanceForType()

public SkaffoldModules.SkaffoldGCSSource getDefaultInstanceForType()
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for source.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SkaffoldModules.SkaffoldGCSSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SkaffoldModules.SkaffoldGCSSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The path to set.

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

The bytes for path to set.

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

The source to set.

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

The bytes for source to set.

Returns
TypeDescription
SkaffoldModules.SkaffoldGCSSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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