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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>public CopyLogEntriesMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CopyLogEntriesMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CopyLogEntriesMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CopyLogEntriesMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CopyLogEntriesMetadata.Builder>IOExceptionpublic boolean hasStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface CopyLogEntriesMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic boolean hasEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface CopyLogEntriesMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic int getStateValue()
State of an operation.
.google.logging.v2.OperationState state = 3;getStateValue in interface CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic CopyLogEntriesRequest getRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;getRequest in interface CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic int getProgress()
Estimated progress of the operation (0 - 100%).
int32 progress = 6;getProgress in interface CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic 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 CopyLogEntriesMetadataOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CopyLogEntriesMetadata.Builder>Copyright © 2023 Google LLC. All rights reserved.