Class StorageSourceManifest.Builder (3.48.0)

public static final class StorageSourceManifest.Builder extends GeneratedMessageV3.Builder<StorageSourceManifest.Builder> implements StorageSourceManifestOrBuilder

Location of the source manifest in Cloud Storage. This feature is in Preview; see description here.

Protobuf type google.devtools.cloudbuild.v1.StorageSourceManifest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StorageSourceManifest build()
Returns
Type Description
StorageSourceManifest

buildPartial()

public StorageSourceManifest buildPartial()
Returns
Type Description
StorageSourceManifest

clear()

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

clearBucket()

public StorageSourceManifest.Builder clearBucket()

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGeneration()

public StorageSourceManifest.Builder clearGeneration()

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

int64 generation = 3;

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

clearObject()

public StorageSourceManifest.Builder clearObject()

Cloud Storage object containing the source manifest.

This object must be a JSON file.

string object = 2;

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StorageSourceManifest.Builder clone()
Returns
Type Description
StorageSourceManifest.Builder
Overrides

getBucket()

public String getBucket()

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Returns
Type Description
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Returns
Type Description
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageSourceManifest getDefaultInstanceForType()
Returns
Type Description
StorageSourceManifest

getDescriptorForType()

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

getGeneration()

public long getGeneration()

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

int64 generation = 3;

Returns
Type Description
long

The generation.

getObject()

public String getObject()

Cloud Storage object containing the source manifest.

This object must be a JSON file.

string object = 2;

Returns
Type Description
String

The object.

getObjectBytes()

public ByteString getObjectBytes()

Cloud Storage object containing the source manifest.

This object must be a JSON file.

string object = 2;

Returns
Type Description
ByteString

The bytes for object.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StorageSourceManifest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBucket(String value)

public StorageSourceManifest.Builder setBucket(String value)

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public StorageSourceManifest.Builder setBucketBytes(ByteString value)

Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).

string bucket = 1;

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGeneration(long value)

public StorageSourceManifest.Builder setGeneration(long value)

Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.

int64 generation = 3;

Parameter
Name Description
value long

The generation to set.

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

setObject(String value)

public StorageSourceManifest.Builder setObject(String value)

Cloud Storage object containing the source manifest.

This object must be a JSON file.

string object = 2;

Parameter
Name Description
value String

The object to set.

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

setObjectBytes(ByteString value)

public StorageSourceManifest.Builder setObjectBytes(ByteString value)

Cloud Storage object containing the source manifest.

This object must be a JSON file.

string object = 2;

Parameter
Name Description
value ByteString

The bytes for object to set.

Returns
Type Description
StorageSourceManifest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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