Class StorageSource.Builder (2.44.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
publicstaticfinalclass StorageSource.BuilderextendsGeneratedMessageV3.Builder<StorageSource.Builder>implementsStorageSourceOrBuilderLocation of the source in an archive file in Google Cloud Storage.
Protobuf type google.cloud.functions.v2beta.StorageSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StorageSource.BuilderImplements
StorageSourceOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicStorageSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
build()
publicStorageSourcebuild()| Returns | |
|---|---|
| Type | Description |
StorageSource |
|
buildPartial()
publicStorageSourcebuildPartial()| Returns | |
|---|---|
| Type | Description |
StorageSource |
|
clear()
publicStorageSource.Builderclear()| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
clearBucket()
publicStorageSource.BuilderclearBucket()Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
publicStorageSource.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
clearGeneration()
publicStorageSource.BuilderclearGeneration()Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
int64 generation = 3;
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
clearObject()
publicStorageSource.BuilderclearObject()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 |
StorageSource.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicStorageSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
clone()
publicStorageSource.Builderclone()| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
getBucket()
publicStringgetBucket()Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The bucket. |
getBucketBytes()
publicByteStringgetBucketBytes()Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucket. |
getDefaultInstanceForType()
publicStorageSourcegetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StorageSource |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneration()
publiclonggetGeneration()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()
publicStringgetObject()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()
publicByteStringgetObjectBytes()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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StorageSource other)
publicStorageSource.BuildermergeFrom(StorageSourceother)| Parameter | |
|---|---|
| Name | Description |
other |
StorageSource |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicStorageSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicStorageSource.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalStorageSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
setBucket(String value)
publicStorageSource.BuildersetBucket(Stringvalue)Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The bucket to set. |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
publicStorageSource.BuildersetBucketBytes(ByteStringvalue)Google Cloud Storage bucket containing the source (see Bucket Name Requirements).
string bucket = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for bucket to set. |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
publicStorageSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
setGeneration(long value)
publicStorageSource.BuildersetGeneration(longvalue)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 | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
setObject(String value)
publicStorageSource.BuildersetObject(Stringvalue)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. |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
setObjectBytes(ByteString value)
publicStorageSource.BuildersetObjectBytes(ByteStringvalue)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. |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicStorageSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalStorageSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|