Send feedback
Class StorageSourceManifest.Builder (3.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]