Class Bucket.Autoclass (2.13.1)

public static final class Bucket.Autoclass extends GeneratedMessageV3 implements Bucket.AutoclassOrBuilder

Configuration for a bucket's Autoclass feature.

Protobuf type google.storage.v2.Bucket.Autoclass

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

TOGGLE_TIME_FIELD_NUMBER

public static final int TOGGLE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Bucket.Autoclass getDefaultInstance()
Returns
Type Description
Bucket.Autoclass

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Bucket.Autoclass.Builder newBuilder()
Returns
Type Description
Bucket.Autoclass.Builder

newBuilder(Bucket.Autoclass prototype)

public static Bucket.Autoclass.Builder newBuilder(Bucket.Autoclass prototype)
Parameter
Name Description
prototype Bucket.Autoclass
Returns
Type Description
Bucket.Autoclass.Builder

parseDelimitedFrom(InputStream input)

public static Bucket.Autoclass parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Bucket.Autoclass parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Bucket.Autoclass parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Bucket.Autoclass parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Bucket.Autoclass parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Bucket.Autoclass parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Bucket.Autoclass parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Bucket.Autoclass
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Bucket.Autoclass> parser()
Returns
Type Description
Parser<Autoclass>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Bucket.Autoclass getDefaultInstanceForType()
Returns
Type Description
Bucket.Autoclass

getEnabled()

public boolean getEnabled()

Enables Autoclass.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getParserForType()

public Parser<Bucket.Autoclass> getParserForType()
Returns
Type Description
Parser<Autoclass>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getToggleTime()

public Timestamp getToggleTime()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The toggleTime.

getToggleTimeOrBuilder()

public TimestampOrBuilder getToggleTimeOrBuilder()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasToggleTime()

public boolean hasToggleTime()

Output only. Latest instant at which the enabled field was set to true after being disabled/unconfigured or set to false after being enabled. If Autoclass is enabled when the bucket is created, the toggle_time is set to the bucket creation time.

.google.protobuf.Timestamp toggle_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the toggleTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Bucket.Autoclass.Builder newBuilderForType()
Returns
Type Description
Bucket.Autoclass.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Bucket.Autoclass.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Bucket.Autoclass.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Bucket.Autoclass.Builder toBuilder()
Returns
Type Description
Bucket.Autoclass.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException