Class BucketMetadata (3.15.17)

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

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_BUCKET_REQUEST_FIELD_NUMBER

public static final int UPDATE_BUCKET_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BucketMetadata getDefaultInstance()
Returns
TypeDescription
BucketMetadata

getDescriptor()

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

newBuilder()

public static BucketMetadata.Builder newBuilder()
Returns
TypeDescription
BucketMetadata.Builder

newBuilder(BucketMetadata prototype)

public static BucketMetadata.Builder newBuilder(BucketMetadata prototype)
Parameter
NameDescription
prototypeBucketMetadata
Returns
TypeDescription
BucketMetadata.Builder

parseDelimitedFrom(InputStream input)

public static BucketMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BucketMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BucketMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BucketMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BucketMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BucketMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BucketMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BucketMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BucketMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BucketMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BucketMetadata> parser()
Returns
TypeDescription
Parser<BucketMetadata>

Methods

equals(Object obj)

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

getCreateBucketRequest()

public CreateBucketRequest getCreateBucketRequest()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
CreateBucketRequest

The createBucketRequest.

getCreateBucketRequestOrBuilder()

public CreateBucketRequestOrBuilder getCreateBucketRequestOrBuilder()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
CreateBucketRequestOrBuilder

getDefaultInstanceForType()

public BucketMetadata getDefaultInstanceForType()
Returns
TypeDescription
BucketMetadata

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<BucketMetadata> getParserForType()
Returns
TypeDescription
Parser<BucketMetadata>
Overrides

getRequestCase()

public BucketMetadata.RequestCase getRequestCase()
Returns
TypeDescription
BucketMetadata.RequestCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

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

Returns
TypeDescription
OperationState

The state.

getStateValue()

public int getStateValue()

State of an operation.

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

Returns
TypeDescription
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
TypeDescription
UpdateBucketRequest

The updateBucketRequest.

getUpdateBucketRequestOrBuilder()

public UpdateBucketRequestOrBuilder getUpdateBucketRequestOrBuilder()

LongRunningUpdateBucket RPC request.

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

Returns
TypeDescription
UpdateBucketRequestOrBuilder

hasCreateBucketRequest()

public boolean hasCreateBucketRequest()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
boolean

Whether the createBucketRequest field is set.

hasEndTime()

public boolean hasEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public boolean hasStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hasUpdateBucketRequest()

public boolean hasUpdateBucketRequest()

LongRunningUpdateBucket RPC request.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public BucketMetadata.Builder toBuilder()
Returns
TypeDescription
BucketMetadata.Builder

writeTo(CodedOutputStream output)

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