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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StorageSourceManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StorageSourceManifest build()
Returns
buildPartial()
public StorageSourceManifest buildPartial()
Returns
clear()
public StorageSourceManifest.Builder clear()
Returns
Overrides
clearBucket()
public StorageSourceManifest.Builder clearBucket()
Returns
clearField(Descriptors.FieldDescriptor field)
public StorageSourceManifest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearObject()
public StorageSourceManifest.Builder clearObject()
Google Cloud Storage object containing the source manifest.
This object must be a JSON file.
string object = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageSourceManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StorageSourceManifest.Builder clone()
Returns
Overrides
getBucket()
public String getBucket()
Returns
Type | Description |
String | The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Returns
getDefaultInstanceForType()
public StorageSourceManifest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Type | Description |
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StorageSourceManifest other)
public StorageSourceManifest.Builder mergeFrom(StorageSourceManifest other)
Parameter
Returns
public StorageSourceManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StorageSourceManifest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageSourceManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBucket(String value)
public StorageSourceManifest.Builder setBucket(String value)
Parameter
Name | Description |
value | String
The bucket to set.
|
Returns
setBucketBytes(ByteString value)
public StorageSourceManifest.Builder setBucketBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for bucket to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StorageSourceManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | long
The generation to set.
|
Returns
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
Name | Description |
value | String
The object to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for object to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageSourceManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageSourceManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides