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