public static final class Bucket.Billing extends GeneratedMessageV3 implements Bucket.BillingOrBuilder
Billing properties of a bucket.
Protobuf type google.storage.v2.Bucket.Billing
Static Fields
REQUESTER_PAYS_FIELD_NUMBER
public static final int REQUESTER_PAYS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Bucket.Billing getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Bucket.Billing.Builder newBuilder()
newBuilder(Bucket.Billing prototype)
public static Bucket.Billing.Builder newBuilder(Bucket.Billing prototype)
public static Bucket.Billing parseDelimitedFrom(InputStream input)
public static Bucket.Billing parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Bucket.Billing parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Billing parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Bucket.Billing parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Billing parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Billing parseFrom(CodedInputStream input)
public static Bucket.Billing parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Billing parseFrom(InputStream input)
public static Bucket.Billing parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Bucket.Billing parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Billing parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Bucket.Billing> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Bucket.Billing getDefaultInstanceForType()
getParserForType()
public Parser<Bucket.Billing> getParserForType()
Overrides
getRequesterPays()
public boolean getRequesterPays()
When set to true, Requester Pays is enabled for this bucket.
bool requester_pays = 1;
Returns |
---|
Type | Description |
boolean | The requesterPays.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Bucket.Billing.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.Billing.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Bucket.Billing.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides