public static final class CopyLogEntriesMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder> implements CopyLogEntriesMetadataOrBuilder
Metadata for CopyLogEntries long running operations.Protobuf type
google.logging.v2.CopyLogEntriesMetadata
Modifier and Type | Method and Description |
---|---|
CopyLogEntriesMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CopyLogEntriesMetadata |
build() |
CopyLogEntriesMetadata |
buildPartial() |
CopyLogEntriesMetadata.Builder |
clear() |
CopyLogEntriesMetadata.Builder |
clearCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
|
CopyLogEntriesMetadata.Builder |
clearEndTime()
The end time of an operation.
|
CopyLogEntriesMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CopyLogEntriesMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CopyLogEntriesMetadata.Builder |
clearProgress()
Estimated progress of the operation (0 - 100%).
|
CopyLogEntriesMetadata.Builder |
clearRequest()
CopyLogEntries RPC request.
|
CopyLogEntriesMetadata.Builder |
clearStartTime()
The create time of an operation.
|
CopyLogEntriesMetadata.Builder |
clearState()
State of an operation.
|
CopyLogEntriesMetadata.Builder |
clearWriterIdentity()
The IAM identity of a service account that must be granted access to the
destination.
|
CopyLogEntriesMetadata.Builder |
clone() |
boolean |
getCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
|
CopyLogEntriesMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The end time of an operation.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The end time of an operation.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of an operation.
|
int |
getProgress()
Estimated progress of the operation (0 - 100%).
|
CopyLogEntriesRequest |
getRequest()
CopyLogEntries RPC request.
|
CopyLogEntriesRequest.Builder |
getRequestBuilder()
CopyLogEntries RPC request.
|
CopyLogEntriesRequestOrBuilder |
getRequestOrBuilder()
CopyLogEntries RPC request.
|
com.google.protobuf.Timestamp |
getStartTime()
The create time of an operation.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The create time of an operation.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The create time of an operation.
|
OperationState |
getState()
State of an operation.
|
int |
getStateValue()
State of an operation.
|
String |
getWriterIdentity()
The IAM identity of a service account that must be granted access to the
destination.
|
com.google.protobuf.ByteString |
getWriterIdentityBytes()
The IAM identity of a service account that must be granted access to the
destination.
|
boolean |
hasEndTime()
The end time of an operation.
|
boolean |
hasRequest()
CopyLogEntries RPC request.
|
boolean |
hasStartTime()
The create time of an operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CopyLogEntriesMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The end time of an operation.
|
CopyLogEntriesMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CopyLogEntriesMetadata.Builder |
mergeFrom(CopyLogEntriesMetadata other) |
CopyLogEntriesMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
CopyLogEntriesMetadata.Builder |
mergeRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
|
CopyLogEntriesMetadata.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The create time of an operation.
|
CopyLogEntriesMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CopyLogEntriesMetadata.Builder |
setCancellationRequested(boolean value)
Identifies whether the user has requested cancellation of the operation.
|
CopyLogEntriesMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end time of an operation.
|
CopyLogEntriesMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The end time of an operation.
|
CopyLogEntriesMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CopyLogEntriesMetadata.Builder |
setProgress(int value)
Estimated progress of the operation (0 - 100%).
|
CopyLogEntriesMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CopyLogEntriesMetadata.Builder |
setRequest(CopyLogEntriesRequest.Builder builderForValue)
CopyLogEntries RPC request.
|
CopyLogEntriesMetadata.Builder |
setRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
|
CopyLogEntriesMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The create time of an operation.
|
CopyLogEntriesMetadata.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The create time of an operation.
|
CopyLogEntriesMetadata.Builder |
setState(OperationState value)
State of an operation.
|
CopyLogEntriesMetadata.Builder |
setStateValue(int value)
State of an operation.
|
CopyLogEntriesMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CopyLogEntriesMetadata.Builder |
setWriterIdentity(String value)
The IAM identity of a service account that must be granted access to the
destination.
|
CopyLogEntriesMetadata.Builder |
setWriterIdentityBytes(com.google.protobuf.ByteString value)
The IAM identity of a service account that must be granted access to the
destination.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CopyLogEntriesMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CopyLogEntriesMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CopyLogEntriesMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder mergeFrom(CopyLogEntriesMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public CopyLogEntriesMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CopyLogEntriesMetadata.Builder>
IOException
public boolean hasStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
hasStartTime
in interface CopyLogEntriesMetadataOrBuilder
public com.google.protobuf.Timestamp getStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
getStartTime
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public CopyLogEntriesMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public CopyLogEntriesMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public CopyLogEntriesMetadata.Builder clearStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
getStartTimeOrBuilder
in interface CopyLogEntriesMetadataOrBuilder
public boolean hasEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
hasEndTime
in interface CopyLogEntriesMetadataOrBuilder
public com.google.protobuf.Timestamp getEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
getEndTime
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public CopyLogEntriesMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public CopyLogEntriesMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public CopyLogEntriesMetadata.Builder clearEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder
in interface CopyLogEntriesMetadataOrBuilder
public int getStateValue()
State of an operation.
.google.logging.v2.OperationState state = 3;
getStateValue
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setStateValue(int value)
State of an operation.
.google.logging.v2.OperationState state = 3;
value
- The enum numeric value on the wire for state to set.public OperationState getState()
State of an operation.
.google.logging.v2.OperationState state = 3;
getState
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setState(OperationState value)
State of an operation.
.google.logging.v2.OperationState state = 3;
value
- The state to set.public CopyLogEntriesMetadata.Builder clearState()
State of an operation.
.google.logging.v2.OperationState state = 3;
public boolean getCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
getCancellationRequested
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setCancellationRequested(boolean value)
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
value
- The cancellationRequested to set.public CopyLogEntriesMetadata.Builder clearCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
public boolean hasRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
hasRequest
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesRequest getRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
getRequest
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public CopyLogEntriesMetadata.Builder setRequest(CopyLogEntriesRequest.Builder builderForValue)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public CopyLogEntriesMetadata.Builder mergeRequest(CopyLogEntriesRequest value)
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public CopyLogEntriesMetadata.Builder clearRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public CopyLogEntriesRequest.Builder getRequestBuilder()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public CopyLogEntriesRequestOrBuilder getRequestOrBuilder()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
getRequestOrBuilder
in interface CopyLogEntriesMetadataOrBuilder
public int getProgress()
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
getProgress
in interface CopyLogEntriesMetadataOrBuilder
public CopyLogEntriesMetadata.Builder setProgress(int value)
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
value
- The progress to set.public CopyLogEntriesMetadata.Builder clearProgress()
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
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;
getWriterIdentity
in interface CopyLogEntriesMetadataOrBuilder
public com.google.protobuf.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;
getWriterIdentityBytes
in interface CopyLogEntriesMetadataOrBuilder
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;
value
- The writerIdentity to set.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;
public CopyLogEntriesMetadata.Builder setWriterIdentityBytes(com.google.protobuf.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;
value
- The bytes for writerIdentity to set.public final CopyLogEntriesMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
public final CopyLogEntriesMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>
Copyright © 2023 Google LLC. All rights reserved.