Class StorageBucketInfo (1.42.0)

public final class StorageBucketInfo extends GeneratedMessageV3 implements StorageBucketInfoOrBuilder

For display only. Metadata associated with Storage Bucket.

Protobuf type google.cloud.networkmanagement.v1beta1.StorageBucketInfo

Static Fields

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StorageBucketInfo getDefaultInstance()
Returns
TypeDescription
StorageBucketInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StorageBucketInfo.Builder newBuilder()
Returns
TypeDescription
StorageBucketInfo.Builder

newBuilder(StorageBucketInfo prototype)

public static StorageBucketInfo.Builder newBuilder(StorageBucketInfo prototype)
Parameter
NameDescription
prototypeStorageBucketInfo
Returns
TypeDescription
StorageBucketInfo.Builder

parseDelimitedFrom(InputStream input)

public static StorageBucketInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StorageBucketInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StorageBucketInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StorageBucketInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StorageBucketInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StorageBucketInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StorageBucketInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StorageBucketInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StorageBucketInfo> parser()
Returns
TypeDescription
Parser<StorageBucketInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucket()

public String getBucket()

Cloud Storage Bucket name.

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

Cloud Storage Bucket name.

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public StorageBucketInfo getDefaultInstanceForType()
Returns
TypeDescription
StorageBucketInfo

getParserForType()

public Parser<StorageBucketInfo> getParserForType()
Returns
TypeDescription
Parser<StorageBucketInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StorageBucketInfo.Builder newBuilderForType()
Returns
TypeDescription
StorageBucketInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StorageBucketInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StorageBucketInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StorageBucketInfo.Builder toBuilder()
Returns
TypeDescription
StorageBucketInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException