Class BucketMetadata (3.17.2)

public final class BucketMetadata extends GeneratedMessageV3 implements BucketMetadataOrBuilder

Metadata for LongRunningUpdateBucket Operations.

Protobuf type google.logging.v2.BucketMetadata

Static Fields

CREATE_BUCKET_REQUEST_FIELD_NUMBER

public static final int CREATE_BUCKET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_BUCKET_REQUEST_FIELD_NUMBER

public static final int UPDATE_BUCKET_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BucketMetadata getDefaultInstance()
Returns
Type Description
BucketMetadata

getDescriptor()

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

newBuilder()

public static BucketMetadata.Builder newBuilder()
Returns
Type Description
BucketMetadata.Builder

newBuilder(BucketMetadata prototype)

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

parseDelimitedFrom(InputStream input)

public static BucketMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BucketMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BucketMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BucketMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BucketMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BucketMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BucketMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BucketMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BucketMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BucketMetadata> parser()
Returns
Type Description
Parser<BucketMetadata>

Methods

equals(Object obj)

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

getCreateBucketRequest()

public CreateBucketRequest getCreateBucketRequest()

LongRunningCreateBucket RPC request.

.google.logging.v2.CreateBucketRequest create_bucket_request = 4;

Returns
Type Description
CreateBucketRequest

The createBucketRequest.

getCreateBucketRequestOrBuilder()

public CreateBucketRequestOrBuilder getCreateBucketRequestOrBuilder()

LongRunningCreateBucket RPC request.

.google.logging.v2.CreateBucketRequest create_bucket_request = 4;

Returns
Type Description
CreateBucketRequestOrBuilder

getDefaultInstanceForType()

public BucketMetadata getDefaultInstanceForType()
Returns
Type Description
BucketMetadata

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<BucketMetadata> getParserForType()
Returns
Type Description
Parser<BucketMetadata>
Overrides

getRequestCase()

public BucketMetadata.RequestCase getRequestCase()
Returns
Type Description
BucketMetadata.RequestCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
OperationState

The state.

getStateValue()

public int getStateValue()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateBucketRequest()

public UpdateBucketRequest getUpdateBucketRequest()

LongRunningUpdateBucket RPC request.

.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;

Returns
Type Description
UpdateBucketRequest

The updateBucketRequest.

getUpdateBucketRequestOrBuilder()

public UpdateBucketRequestOrBuilder getUpdateBucketRequestOrBuilder()

LongRunningUpdateBucket RPC request.

.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;

Returns
Type Description
UpdateBucketRequestOrBuilder

hasCreateBucketRequest()

public boolean hasCreateBucketRequest()

LongRunningCreateBucket RPC request.

.google.logging.v2.CreateBucketRequest create_bucket_request = 4;

Returns
Type Description
boolean

Whether the createBucketRequest field is set.

hasEndTime()

public boolean hasEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
boolean

Whether the startTime field is set.

hasUpdateBucketRequest()

public boolean hasUpdateBucketRequest()

LongRunningUpdateBucket RPC request.

.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;

Returns
Type Description
boolean

Whether the updateBucketRequest 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 BucketMetadata.Builder newBuilderForType()
Returns
Type Description
BucketMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BucketMetadata.Builder toBuilder()
Returns
Type Description
BucketMetadata.Builder

writeTo(CodedOutputStream output)

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