public static final class CopyLogEntriesMetadata.Builder extends GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder> implements CopyLogEntriesMetadataOrBuilder
Metadata for CopyLogEntries long running operations.
Protobuf type google.logging.v2.CopyLogEntriesMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CopyLogEntriesMetadata.BuilderImplements
CopyLogEntriesMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
build()
public CopyLogEntriesMetadata build()
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata |
buildPartial()
public CopyLogEntriesMetadata buildPartial()
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata |
clear()
public CopyLogEntriesMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearCancellationRequested()
public CopyLogEntriesMetadata.Builder clearCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
clearEndTime()
public CopyLogEntriesMetadata.Builder clearEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public CopyLogEntriesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CopyLogEntriesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearProgress()
public CopyLogEntriesMetadata.Builder clearProgress()
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
clearRequest()
public CopyLogEntriesMetadata.Builder clearRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearStartTime()
public CopyLogEntriesMetadata.Builder clearStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
clearState()
public CopyLogEntriesMetadata.Builder clearState()
State of an operation.
.google.logging.v2.OperationState state = 3;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
clearWriterIdentity()
public CopyLogEntriesMetadata.Builder clearWriterIdentity()
The IAM identity of a service account that must be granted access to the destination.
If the service account is not granted permission to the destination within an hour, the operation will be cancelled.
For example: "serviceAccount:foo@bar.com"
string writer_identity = 7;
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
clone()
public CopyLogEntriesMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
getCancellationRequested()
public boolean getCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
Returns | |
---|---|
Type | Description |
boolean |
The cancellationRequested. |
getDefaultInstanceForType()
public CopyLogEntriesMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata |
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 |
getProgress()
public int getProgress()
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
Returns | |
---|---|
Type | Description |
int |
The progress. |
getRequest()
public CopyLogEntriesRequest getRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns | |
---|---|
Type | Description |
CopyLogEntriesRequest |
The request. |
getRequestBuilder()
public CopyLogEntriesRequest.Builder getRequestBuilder()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns | |
---|---|
Type | Description |
CopyLogEntriesRequest.Builder |
getRequestOrBuilder()
public CopyLogEntriesRequestOrBuilder getRequestOrBuilder()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns | |
---|---|
Type | Description |
CopyLogEntriesRequestOrBuilder |
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. |
getWriterIdentity()
public String getWriterIdentity()
The IAM identity of a service account that must be granted access to the destination.
If the service account is not granted permission to the destination within an hour, the operation will be cancelled.
For example: "serviceAccount:foo@bar.com"
string writer_identity = 7;
Returns | |
---|---|
Type | Description |
String |
The writerIdentity. |
getWriterIdentityBytes()
public ByteString getWriterIdentityBytes()
The IAM identity of a service account that must be granted access to the destination.
If the service account is not granted permission to the destination within an hour, the operation will be cancelled.
For example: "serviceAccount:foo@bar.com"
string writer_identity = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for writerIdentity. |
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. |
hasRequest()
public boolean hasRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the request 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeEndTime(Timestamp value)
public CopyLogEntriesMetadata.Builder mergeEndTime(Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
mergeFrom(CopyLogEntriesMetadata other)
public CopyLogEntriesMetadata.Builder mergeFrom(CopyLogEntriesMetadata other)
Parameter | |
---|---|
Name | Description |
other |
CopyLogEntriesMetadata |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CopyLogEntriesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CopyLogEntriesMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
mergeRequest(CopyLogEntriesRequest value)
public CopyLogEntriesMetadata.Builder mergeRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Parameter | |
---|---|
Name | Description |
value |
CopyLogEntriesRequest |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
mergeStartTime(Timestamp value)
public CopyLogEntriesMetadata.Builder mergeStartTime(Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setCancellationRequested(boolean value)
public CopyLogEntriesMetadata.Builder setCancellationRequested(boolean value)
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
Parameter | |
---|---|
Name | Description |
value |
boolean The cancellationRequested to set. |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
setEndTime(Timestamp value)
public CopyLogEntriesMetadata.Builder setEndTime(Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
public CopyLogEntriesMetadata.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 |
CopyLogEntriesMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CopyLogEntriesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setProgress(int value)
public CopyLogEntriesMetadata.Builder setProgress(int value)
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
Parameter | |
---|---|
Name | Description |
value |
int The progress to set. |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CopyLogEntriesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setRequest(CopyLogEntriesRequest value)
public CopyLogEntriesMetadata.Builder setRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Parameter | |
---|---|
Name | Description |
value |
CopyLogEntriesRequest |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setRequest(CopyLogEntriesRequest.Builder builderForValue)
public CopyLogEntriesMetadata.Builder setRequest(CopyLogEntriesRequest.Builder builderForValue)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
CopyLogEntriesRequest.Builder |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setStartTime(Timestamp value)
public CopyLogEntriesMetadata.Builder setStartTime(Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setStartTime(Timestamp.Builder builderForValue)
public CopyLogEntriesMetadata.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 |
CopyLogEntriesMetadata.Builder |
setState(OperationState value)
public CopyLogEntriesMetadata.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 |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
setStateValue(int value)
public CopyLogEntriesMetadata.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 |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CopyLogEntriesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
setWriterIdentity(String value)
public CopyLogEntriesMetadata.Builder setWriterIdentity(String value)
The IAM identity of a service account that must be granted access to the destination.
If the service account is not granted permission to the destination within an hour, the operation will be cancelled.
For example: "serviceAccount:foo@bar.com"
string writer_identity = 7;
Parameter | |
---|---|
Name | Description |
value |
String The writerIdentity to set. |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |
setWriterIdentityBytes(ByteString value)
public CopyLogEntriesMetadata.Builder setWriterIdentityBytes(ByteString value)
The IAM identity of a service account that must be granted access to the destination.
If the service account is not granted permission to the destination within an hour, the operation will be cancelled.
For example: "serviceAccount:foo@bar.com"
string writer_identity = 7;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for writerIdentity to set. |
Returns | |
---|---|
Type | Description |
CopyLogEntriesMetadata.Builder |
This builder for chaining. |