Class BucketMetadata (3.23.10)
3.28.0 (latest)
3.26.0
3.24.0
3.23.10
3.22.6
3.21.4
3.20.7
3.19.0
3.18.0
3.17.2
3.16.2
3.15.17
3.14.9
3.13.7
3.12.1
3.11.10
3.10.7
3.9.0
3.8.0
3.7.6
3.6.4
3.5.3
public final class BucketMetadata extends GeneratedMessageV3 implements BucketMetadataOrBuilder
Metadata for LongRunningUpdateBucket Operations.
Protobuf type google.logging.v2.BucketMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_BUCKET_REQUEST_FIELD_NUMBER
Field Value
Type
Description
int
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPDATE_BUCKET_REQUEST_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static BucketMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static BucketMetadata . Builder newBuilder ()
public static BucketMetadata . Builder newBuilder ( BucketMetadata prototype )
public static BucketMetadata parseDelimitedFrom ( InputStream input )
public static BucketMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BucketMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static BucketMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static BucketMetadata parseFrom ( ByteString data )
public static BucketMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BucketMetadata parseFrom ( CodedInputStream input )
public static BucketMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BucketMetadata parseFrom ( InputStream input )
public static BucketMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BucketMetadata parseFrom ( ByteBuffer data )
public static BucketMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<BucketMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public CreateBucketRequest getCreateBucketRequest ()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
public CreateBucketRequestOrBuilder getCreateBucketRequestOrBuilder ()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
public BucketMetadata getDefaultInstanceForType ()
public Timestamp getEndTime ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public Parser<BucketMetadata> getParserForType ()
Overrides
public BucketMetadata . RequestCase getRequestCase ()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public OperationState getState ()
State of an operation.
.google.logging.v2.OperationState state = 3;
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.
public UpdateBucketRequest getUpdateBucketRequest ()
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
public UpdateBucketRequestOrBuilder getUpdateBucketRequestOrBuilder ()
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
public boolean hasCreateBucketRequest ()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Returns
Type
Description
boolean
Whether the createBucketRequest field is set.
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.
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.
public boolean hasUpdateBucketRequest ()
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
Returns
Type
Description
boolean
Whether the updateBucketRequest field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BucketMetadata . Builder newBuilderForType ()
protected BucketMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public BucketMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]