public static final class Bucket.Versioning extends GeneratedMessageV3 implements Bucket.VersioningOrBuilder
Properties of a bucket related to versioning. For more on Cloud Storage versioning, see https://cloud.google.com/storage/docs/object-versioning.
Protobuf type google.storage.v2.Bucket.Versioning
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Bucket.VersioningImplements
Bucket.VersioningOrBuilderFields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static Bucket.Versioning getDefaultInstance()
Type | Description |
Bucket.Versioning |
getDefaultInstanceForType()
public Bucket.Versioning getDefaultInstanceForType()
Type | Description |
Bucket.Versioning |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getEnabled()
public boolean getEnabled()
While set to true, versioning is fully enabled for this bucket.
bool enabled = 1;
Type | Description |
boolean | The enabled. |
getParserForType()
public Parser<Bucket.Versioning> getParserForType()
Type | Description |
Parser<Versioning> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static Bucket.Versioning.Builder newBuilder()
Type | Description |
Bucket.Versioning.Builder |
newBuilder(Bucket.Versioning prototype)
public static Bucket.Versioning.Builder newBuilder(Bucket.Versioning prototype)
Name | Description |
prototype | Bucket.Versioning |
Type | Description |
Bucket.Versioning.Builder |
newBuilderForType()
public Bucket.Versioning.Builder newBuilderForType()
Type | Description |
Bucket.Versioning.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.Versioning.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Bucket.Versioning.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static Bucket.Versioning parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Bucket.Versioning parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Bucket.Versioning parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Bucket.Versioning parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Bucket.Versioning parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Bucket.Versioning parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Versioning parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Versioning |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Bucket.Versioning> parser()
Type | Description |
Parser<Versioning> |
toBuilder()
public Bucket.Versioning.Builder toBuilder()
Type | Description |
Bucket.Versioning.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |