Class StorageSourceManifest.Builder (3.5.2)

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

Location of the source manifest in Google 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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StorageSourceManifest build()
Returns
TypeDescription
StorageSourceManifest

buildPartial()

public StorageSourceManifest buildPartial()
Returns
TypeDescription
StorageSourceManifest

clear()

public StorageSourceManifest.Builder clear()
Returns
TypeDescription
StorageSourceManifest.Builder
Overrides

clearBucket()

public StorageSourceManifest.Builder clearBucket()

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

string bucket = 1;

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGeneration()

public StorageSourceManifest.Builder clearGeneration()

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

int64 generation = 3;

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

clearObject()

public StorageSourceManifest.Builder clearObject()

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public StorageSourceManifest.Builder clone()
Returns
TypeDescription
StorageSourceManifest.Builder
Overrides

getBucket()

public String getBucket()

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

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

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

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageSourceManifest getDefaultInstanceForType()
Returns
TypeDescription
StorageSourceManifest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGeneration()

public long getGeneration()

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

int64 generation = 3;

Returns
TypeDescription
long

The generation.

getObject()

public String getObject()

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Returns
TypeDescription
String

The object.

getObjectBytes()

public ByteString getObjectBytes()

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Returns
TypeDescription
ByteString

The bytes for object.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StorageSourceManifest other)

public StorageSourceManifest.Builder mergeFrom(StorageSourceManifest other)
Parameter
NameDescription
otherStorageSourceManifest
Returns
TypeDescription
StorageSourceManifest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBucket(String value)

public StorageSourceManifest.Builder setBucket(String value)

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

string bucket = 1;

Parameter
NameDescription
valueString

The bucket to set.

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public StorageSourceManifest.Builder setBucketBytes(ByteString value)

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

string bucket = 1;

Parameter
NameDescription
valueByteString

The bytes for bucket to set.

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGeneration(long value)

public StorageSourceManifest.Builder setGeneration(long value)

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

int64 generation = 3;

Parameter
NameDescription
valuelong

The generation to set.

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

setObject(String value)

public StorageSourceManifest.Builder setObject(String value)

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Parameter
NameDescription
valueString

The object to set.

Returns
TypeDescription
StorageSourceManifest.Builder

This builder for chaining.

setObjectBytes(ByteString value)

public StorageSourceManifest.Builder setObjectBytes(ByteString value)

Google Cloud Storage object containing the source manifest. This object must be a JSON file.

string object = 2;

Parameter
NameDescription
valueByteString

The bytes for object to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StorageSourceManifest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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