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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Bucket.AutoclassImplements
Bucket.AutoclassOrBuilderStatic Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Type | Description |
int |
TOGGLE_TIME_FIELD_NUMBER
public static final int TOGGLE_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Bucket.Autoclass getDefaultInstance()
Type | Description |
Bucket.Autoclass |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Bucket.Autoclass.Builder newBuilder()
Type | Description |
Bucket.Autoclass.Builder |
newBuilder(Bucket.Autoclass prototype)
public static Bucket.Autoclass.Builder newBuilder(Bucket.Autoclass prototype)
Name | Description |
prototype | Bucket.Autoclass |
Type | Description |
Bucket.Autoclass.Builder |
parseDelimitedFrom(InputStream input)
public static Bucket.Autoclass parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Bucket.Autoclass parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Bucket.Autoclass parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Bucket.Autoclass parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Bucket.Autoclass parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Bucket.Autoclass parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket.Autoclass parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Bucket.Autoclass |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Bucket.Autoclass> parser()
Type | Description |
Parser<Autoclass> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Bucket.Autoclass getDefaultInstanceForType()
Type | Description |
Bucket.Autoclass |
getEnabled()
public boolean getEnabled()
Enables Autoclass.
bool enabled = 1;
Type | Description |
boolean | The enabled. |
getParserForType()
public Parser<Bucket.Autoclass> getParserForType()
Type | Description |
Parser<Autoclass> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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];
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];
Type | Description |
TimestampOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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];
Type | Description |
boolean | Whether the toggleTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Bucket.Autoclass.Builder newBuilderForType()
Type | Description |
Bucket.Autoclass.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket.Autoclass.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Bucket.Autoclass.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Bucket.Autoclass.Builder toBuilder()
Type | Description |
Bucket.Autoclass.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |