Class Bucket.Autoclass (2.17.0)

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
TypeDescription
int

TOGGLE_TIME_FIELD_NUMBER

public static final int TOGGLE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Bucket.Autoclass getDefaultInstance()
Returns
TypeDescription
Bucket.Autoclass

getDescriptor()

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

newBuilder()

public static Bucket.Autoclass.Builder newBuilder()
Returns
TypeDescription
Bucket.Autoclass.Builder

newBuilder(Bucket.Autoclass prototype)

public static Bucket.Autoclass.Builder newBuilder(Bucket.Autoclass prototype)
Parameter
NameDescription
prototypeBucket.Autoclass
Returns
TypeDescription
Bucket.Autoclass.Builder

parseDelimitedFrom(InputStream input)

public static Bucket.Autoclass parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.Autoclass
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Bucket.Autoclass parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Bucket.Autoclass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Bucket.Autoclass parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Bucket.Autoclass
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Bucket.Autoclass parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Bucket.Autoclass
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Bucket.Autoclass parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Bucket.Autoclass
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Bucket.Autoclass getDefaultInstanceForType()
Returns
TypeDescription
Bucket.Autoclass

getEnabled()

public boolean getEnabled()

Enables Autoclass.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the toggleTime field is set.

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 Bucket.Autoclass.Builder newBuilderForType()
Returns
TypeDescription
Bucket.Autoclass.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Bucket.Autoclass.Builder toBuilder()
Returns
TypeDescription
Bucket.Autoclass.Builder

writeTo(CodedOutputStream output)

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