public static final class SourceCode.CloudStorageSource.Builder extends GeneratedMessage.Builder<SourceCode.CloudStorageSource.Builder> implements SourceCode.CloudStorageSourceOrBuilderCloud Storage source.
Protobuf type google.cloud.run.v2.SourceCode.CloudStorageSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SourceCode.CloudStorageSource.BuilderImplements
SourceCode.CloudStorageSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SourceCode.CloudStorageSource build()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
buildPartial()
public SourceCode.CloudStorageSource buildPartial()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
clear()
public SourceCode.CloudStorageSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
clearBucket()
public SourceCode.CloudStorageSource.Builder clearBucket()Required. The Cloud Storage bucket name.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
clearGeneration()
public SourceCode.CloudStorageSource.Builder clearGeneration()Optional. The Cloud Storage object generation.
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
clearObject()
public SourceCode.CloudStorageSource.Builder clearObject()Required. The Cloud Storage object name.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
getBucket()
public String getBucket()Required. The Cloud Storage bucket name.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The bucket. |
getBucketBytes()
public ByteString getBucketBytes()Required. The Cloud Storage bucket name.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for bucket. |
getDefaultInstanceForType()
public SourceCode.CloudStorageSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGeneration()
public long getGeneration()Optional. The Cloud Storage object generation.
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The generation. |
getObject()
public String getObject()Required. The Cloud Storage object name.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The object. |
getObjectBytes()
public ByteString getObjectBytes()Required. The Cloud Storage object name.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for object. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SourceCode.CloudStorageSource other)
public SourceCode.CloudStorageSource.Builder mergeFrom(SourceCode.CloudStorageSource other)| Parameter | |
|---|---|
| Name | Description |
other |
SourceCode.CloudStorageSource |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceCode.CloudStorageSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SourceCode.CloudStorageSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
setBucket(String value)
public SourceCode.CloudStorageSource.Builder setBucket(String value)Required. The Cloud Storage bucket name.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe bucket to set. |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
setBucketBytes(ByteString value)
public SourceCode.CloudStorageSource.Builder setBucketBytes(ByteString value)Required. The Cloud Storage bucket name.
string bucket = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for bucket to set. |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
setGeneration(long value)
public SourceCode.CloudStorageSource.Builder setGeneration(long value)Optional. The Cloud Storage object generation.
int64 generation = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generation to set. |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
setObject(String value)
public SourceCode.CloudStorageSource.Builder setObject(String value)Required. The Cloud Storage object name.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe object to set. |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |
setObjectBytes(ByteString value)
public SourceCode.CloudStorageSource.Builder setObjectBytes(ByteString value)Required. The Cloud Storage object name.
string object = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for object to set. |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
This builder for chaining. |