public static final class BucketMetadata.Builder extends GeneratedMessageV3.Builder<BucketMetadata.Builder> implements BucketMetadataOrBuilder
Metadata for LongRunningUpdateBucket Operations.
Protobuf type google.logging.v2.BucketMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BucketMetadata.BuilderImplements
BucketMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BucketMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
build()
public BucketMetadata build()
Returns | |
---|---|
Type | Description |
BucketMetadata |
buildPartial()
public BucketMetadata buildPartial()
Returns | |
---|---|
Type | Description |
BucketMetadata |
clear()
public BucketMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearCreateBucketRequest()
public BucketMetadata.Builder clearCreateBucketRequest()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearEndTime()
public BucketMetadata.Builder clearEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public BucketMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BucketMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearRequest()
public BucketMetadata.Builder clearRequest()
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearStartTime()
public BucketMetadata.Builder clearStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clearState()
public BucketMetadata.Builder clearState()
State of an operation.
.google.logging.v2.OperationState state = 3;
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
This builder for chaining. |
clearUpdateBucketRequest()
public BucketMetadata.Builder clearUpdateBucketRequest()
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
clone()
public BucketMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
getCreateBucketRequest()
public CreateBucketRequest getCreateBucketRequest()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Returns | |
---|---|
Type | Description |
CreateBucketRequest |
The createBucketRequest. |
getCreateBucketRequestBuilder()
public CreateBucketRequest.Builder getCreateBucketRequestBuilder()
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Returns | |
---|---|
Type | Description |
CreateBucketRequest.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRequestCase()
public BucketMetadata.RequestCase getRequestCase()
Returns | |
---|---|
Type | Description |
BucketMetadata.RequestCase |
getStartTime()
public Timestamp getStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
Builder |
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. |
getUpdateBucketRequestBuilder()
public UpdateBucketRequest.Builder getUpdateBucketRequestBuilder()
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
Returns | |
---|---|
Type | Description |
UpdateBucketRequest.Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateBucketRequest(CreateBucketRequest value)
public BucketMetadata.Builder mergeCreateBucketRequest(CreateBucketRequest value)
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Parameter | |
---|---|
Name | Description |
value |
CreateBucketRequest |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeEndTime(Timestamp value)
public BucketMetadata.Builder mergeEndTime(Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeFrom(BucketMetadata other)
public BucketMetadata.Builder mergeFrom(BucketMetadata other)
Parameter | |
---|---|
Name | Description |
other |
BucketMetadata |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BucketMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BucketMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeStartTime(Timestamp value)
public BucketMetadata.Builder mergeStartTime(Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BucketMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
mergeUpdateBucketRequest(UpdateBucketRequest value)
public BucketMetadata.Builder mergeUpdateBucketRequest(UpdateBucketRequest value)
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
Parameter | |
---|---|
Name | Description |
value |
UpdateBucketRequest |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setCreateBucketRequest(CreateBucketRequest value)
public BucketMetadata.Builder setCreateBucketRequest(CreateBucketRequest value)
LongRunningCreateBucket RPC request.
.google.logging.v2.CreateBucketRequest create_bucket_request = 4;
Parameter | |
---|---|
Name | Description |
value |
CreateBucketRequest |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
CreateBucketRequest.Builder |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setEndTime(Timestamp value)
public BucketMetadata.Builder setEndTime(Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BucketMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BucketMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setStartTime(Timestamp value)
public BucketMetadata.Builder setStartTime(Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setState(OperationState value)
public BucketMetadata.Builder setState(OperationState value)
State of an operation.
.google.logging.v2.OperationState state = 3;
Parameter | |
---|---|
Name | Description |
value |
OperationState The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BucketMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |
setUpdateBucketRequest(UpdateBucketRequest value)
public BucketMetadata.Builder setUpdateBucketRequest(UpdateBucketRequest value)
LongRunningUpdateBucket RPC request.
.google.logging.v2.UpdateBucketRequest update_bucket_request = 5;
Parameter | |
---|---|
Name | Description |
value |
UpdateBucketRequest |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
UpdateBucketRequest.Builder |
Returns | |
---|---|
Type | Description |
BucketMetadata.Builder |