public static final class StorageSource.Builder extends GeneratedMessageV3.Builder<StorageSource.Builder> implements StorageSourceOrBuilder
Location of the source in an archive file in Google Cloud Storage.
Protobuf type google.events.cloud.functions.v2.StorageSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 StorageSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StorageSource build()
buildPartial()
public StorageSource buildPartial()
clear()
public StorageSource.Builder clear()
Overrides
clearBucket()
public StorageSource.Builder clearBucket()
clearField(Descriptors.FieldDescriptor field)
public StorageSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGeneration()
public StorageSource.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 StorageSource.Builder clearObject()
Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
string object = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StorageSource.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 StorageSource 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.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
string object = 2;
Returns |
Type |
Description |
String |
The object.
|
getObjectBytes()
public ByteString getObjectBytes()
Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
string object = 2;
Returns |
Type |
Description |
ByteString |
The bytes for object.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StorageSource other)
public StorageSource.Builder mergeFrom(StorageSource other)
public StorageSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StorageSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBucket(String value)
public StorageSource.Builder setBucket(String value)
Parameter |
Name |
Description |
value |
String
The bucket to set.
|
setBucketBytes(ByteString value)
public StorageSource.Builder setBucketBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for bucket to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StorageSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGeneration(long value)
public StorageSource.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 StorageSource.Builder setObject(String value)
Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
string object = 2;
Parameter |
Name |
Description |
value |
String
The object to set.
|
setObjectBytes(ByteString value)
public StorageSource.Builder setObjectBytes(ByteString value)
Google Cloud Storage object containing the source.
This object must be a gzipped archive file (.tar.gz
) containing source to
build.
string object = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for object to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides