public static final class StorageBucketInfo.Builder extends GeneratedMessageV3.Builder<StorageBucketInfo.Builder> implements StorageBucketInfoOrBuilder
For display only. Metadata associated with Storage Bucket.
Protobuf type google.cloud.networkmanagement.v1.StorageBucketInfo
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 StorageBucketInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StorageBucketInfo build()
buildPartial()
public StorageBucketInfo buildPartial()
clear()
public StorageBucketInfo.Builder clear()
Overrides
clearBucket()
public StorageBucketInfo.Builder clearBucket()
Cloud Storage Bucket name.
string bucket = 1;
clearField(Descriptors.FieldDescriptor field)
public StorageBucketInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StorageBucketInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StorageBucketInfo.Builder clone()
Overrides
getBucket()
public String getBucket()
Cloud Storage Bucket name.
string bucket = 1;
Returns |
Type |
Description |
String |
The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Cloud Storage Bucket name.
string bucket = 1;
Returns |
Type |
Description |
ByteString |
The bytes for bucket.
|
getDefaultInstanceForType()
public StorageBucketInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StorageBucketInfo other)
public StorageBucketInfo.Builder mergeFrom(StorageBucketInfo other)
public StorageBucketInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StorageBucketInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StorageBucketInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBucket(String value)
public StorageBucketInfo.Builder setBucket(String value)
Cloud Storage Bucket name.
string bucket = 1;
Parameter |
Name |
Description |
value |
String
The bucket to set.
|
setBucketBytes(ByteString value)
public StorageBucketInfo.Builder setBucketBytes(ByteString value)
Cloud Storage Bucket name.
string bucket = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for bucket to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StorageBucketInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StorageBucketInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StorageBucketInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides