Class BucketMetadata.Builder (3.15.2)

public static final class BucketMetadata.Builder extends GeneratedMessageV3.Builder<BucketMetadata.Builder> implements BucketMetadataOrBuilder

Metadata for LongRunningUpdateBucket Operations.

Protobuf type google.logging.v2.BucketMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BucketMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BucketMetadata.Builder
Overrides

build()

public BucketMetadata build()
Returns
TypeDescription
BucketMetadata

buildPartial()

public BucketMetadata buildPartial()
Returns
TypeDescription
BucketMetadata

clear()

public BucketMetadata.Builder clear()
Returns
TypeDescription
BucketMetadata.Builder
Overrides

clearCreateBucketRequest()

public BucketMetadata.Builder clearCreateBucketRequest()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
BucketMetadata.Builder

clearEndTime()

public BucketMetadata.Builder clearEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
BucketMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public BucketMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BucketMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BucketMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BucketMetadata.Builder
Overrides

clearRequest()

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

clearStartTime()

public BucketMetadata.Builder clearStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
BucketMetadata.Builder

clearState()

public BucketMetadata.Builder clearState()

State of an operation.

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

Returns
TypeDescription
BucketMetadata.Builder

This builder for chaining.

clearUpdateBucketRequest()

public BucketMetadata.Builder clearUpdateBucketRequest()

LongRunningUpdateBucket RPC request.

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

Returns
TypeDescription
BucketMetadata.Builder

clone()

public BucketMetadata.Builder clone()
Returns
TypeDescription
BucketMetadata.Builder
Overrides

getCreateBucketRequest()

public CreateBucketRequest getCreateBucketRequest()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
CreateBucketRequest

The createBucketRequest.

getCreateBucketRequestBuilder()

public CreateBucketRequest.Builder getCreateBucketRequestBuilder()

LongRunningCreateBucket RPC request.

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

Returns
TypeDescription
CreateBucketRequest.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getRequestCase()

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

getStartTime()

public Timestamp getStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Builder

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.

getUpdateBucketRequestBuilder()

public UpdateBucketRequest.Builder getUpdateBucketRequestBuilder()

LongRunningUpdateBucket RPC request.

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

Returns
TypeDescription
UpdateBucketRequest.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateBucketRequest(CreateBucketRequest value)

public BucketMetadata.Builder mergeCreateBucketRequest(CreateBucketRequest value)

LongRunningCreateBucket RPC request.

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

Parameter
NameDescription
valueCreateBucketRequest
Returns
TypeDescription
BucketMetadata.Builder

mergeEndTime(Timestamp value)

public BucketMetadata.Builder mergeEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BucketMetadata.Builder

mergeFrom(BucketMetadata other)

public BucketMetadata.Builder mergeFrom(BucketMetadata other)
Parameter
NameDescription
otherBucketMetadata
Returns
TypeDescription
BucketMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BucketMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BucketMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BucketMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BucketMetadata.Builder
Overrides

mergeStartTime(Timestamp value)

public BucketMetadata.Builder mergeStartTime(Timestamp value)

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BucketMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BucketMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BucketMetadata.Builder
Overrides

mergeUpdateBucketRequest(UpdateBucketRequest value)

public BucketMetadata.Builder mergeUpdateBucketRequest(UpdateBucketRequest value)

LongRunningUpdateBucket RPC request.

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

Parameter
NameDescription
valueUpdateBucketRequest
Returns
TypeDescription
BucketMetadata.Builder

setCreateBucketRequest(CreateBucketRequest value)

public BucketMetadata.Builder setCreateBucketRequest(CreateBucketRequest value)

LongRunningCreateBucket RPC request.

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

Parameter
NameDescription
valueCreateBucketRequest
Returns
TypeDescription
BucketMetadata.Builder

setCreateBucketRequest(CreateBucketRequest.Builder builderForValue)

public BucketMetadata.Builder setCreateBucketRequest(CreateBucketRequest.Builder builderForValue)

LongRunningCreateBucket RPC request.

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

Parameter
NameDescription
builderForValueCreateBucketRequest.Builder
Returns
TypeDescription
BucketMetadata.Builder

setEndTime(Timestamp value)

public BucketMetadata.Builder setEndTime(Timestamp value)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BucketMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public BucketMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BucketMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BucketMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BucketMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BucketMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BucketMetadata.Builder
Overrides

setStartTime(Timestamp value)

public BucketMetadata.Builder setStartTime(Timestamp value)

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
BucketMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public BucketMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
BucketMetadata.Builder

setState(OperationState value)

public BucketMetadata.Builder setState(OperationState value)

State of an operation.

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

Parameter
NameDescription
valueOperationState

The state to set.

Returns
TypeDescription
BucketMetadata.Builder

This builder for chaining.

setStateValue(int value)

public BucketMetadata.Builder setStateValue(int value)

State of an operation.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
BucketMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BucketMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BucketMetadata.Builder
Overrides

setUpdateBucketRequest(UpdateBucketRequest value)

public BucketMetadata.Builder setUpdateBucketRequest(UpdateBucketRequest value)

LongRunningUpdateBucket RPC request.

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

Parameter
NameDescription
valueUpdateBucketRequest
Returns
TypeDescription
BucketMetadata.Builder

setUpdateBucketRequest(UpdateBucketRequest.Builder builderForValue)

public BucketMetadata.Builder setUpdateBucketRequest(UpdateBucketRequest.Builder builderForValue)

LongRunningUpdateBucket RPC request.

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

Parameter
NameDescription
builderForValueUpdateBucketRequest.Builder
Returns
TypeDescription
BucketMetadata.Builder