public static final class SourceCode.CloudStorageSource extends GeneratedMessage implements SourceCode.CloudStorageSourceOrBuilderCloud Storage source.
Protobuf type google.cloud.run.v2.SourceCode.CloudStorageSource
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SourceCode.CloudStorageSourceImplements
SourceCode.CloudStorageSourceOrBuilderStatic Fields
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
GENERATION_FIELD_NUMBER
public static final int GENERATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
OBJECT_FIELD_NUMBER
public static final int OBJECT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SourceCode.CloudStorageSource getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SourceCode.CloudStorageSource.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
newBuilder(SourceCode.CloudStorageSource prototype)
public static SourceCode.CloudStorageSource.Builder newBuilder(SourceCode.CloudStorageSource prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SourceCode.CloudStorageSource |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
parseDelimitedFrom(InputStream input)
public static SourceCode.CloudStorageSource parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SourceCode.CloudStorageSource parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SourceCode.CloudStorageSource parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SourceCode.CloudStorageSource parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SourceCode.CloudStorageSource parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SourceCode.CloudStorageSource parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceCode.CloudStorageSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SourceCode.CloudStorageSource> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CloudStorageSource> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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. |
getParserForType()
public Parser<SourceCode.CloudStorageSource> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CloudStorageSource> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SourceCode.CloudStorageSource.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SourceCode.CloudStorageSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
toBuilder()
public SourceCode.CloudStorageSource.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SourceCode.CloudStorageSource.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|