public final class FieldOperationMetadata extends com.google.protobuf.GeneratedMessageV3 implements FieldOperationMetadataOrBuilder
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].Protobuf type
google.firestore.admin.v1.FieldOperationMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
FieldOperationMetadata.Builder
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from
[FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
|
static class |
FieldOperationMetadata.IndexConfigDelta
Information about an index configuration change.
|
static interface |
FieldOperationMetadata.IndexConfigDeltaOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
END_TIME_FIELD_NUMBER |
static int |
FIELD_FIELD_NUMBER |
static int |
INDEX_CONFIG_DELTAS_FIELD_NUMBER |
static int |
PROGRESS_BYTES_FIELD_NUMBER |
static int |
PROGRESS_DOCUMENTS_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static FieldOperationMetadata |
getDefaultInstance() |
FieldOperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
The time this operation completed.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The time this operation completed.
|
String |
getField()
The field resource that this operation is acting on.
|
com.google.protobuf.ByteString |
getFieldBytes()
The field resource that this operation is acting on.
|
FieldOperationMetadata.IndexConfigDelta |
getIndexConfigDeltas(int index)
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
operation.
|
int |
getIndexConfigDeltasCount()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
operation.
|
List<FieldOperationMetadata.IndexConfigDelta> |
getIndexConfigDeltasList()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
operation.
|
FieldOperationMetadata.IndexConfigDeltaOrBuilder |
getIndexConfigDeltasOrBuilder(int index)
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
operation.
|
List<? extends FieldOperationMetadata.IndexConfigDeltaOrBuilder> |
getIndexConfigDeltasOrBuilderList()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this
operation.
|
com.google.protobuf.Parser<FieldOperationMetadata> |
getParserForType() |
Progress |
getProgressBytes()
The progress, in bytes, of this operation.
|
ProgressOrBuilder |
getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
|
Progress |
getProgressDocuments()
The progress, in documents, of this operation.
|
ProgressOrBuilder |
getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
The time this operation started.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The time this operation started.
|
OperationState |
getState()
The state of the operation.
|
int |
getStateValue()
The state of the operation.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndTime()
The time this operation completed.
|
int |
hashCode() |
boolean |
hasProgressBytes()
The progress, in bytes, of this operation.
|
boolean |
hasProgressDocuments()
The progress, in documents, of this operation.
|
boolean |
hasStartTime()
The time this operation started.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FieldOperationMetadata.Builder |
newBuilder() |
static FieldOperationMetadata.Builder |
newBuilder(FieldOperationMetadata prototype) |
FieldOperationMetadata.Builder |
newBuilderForType() |
protected FieldOperationMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FieldOperationMetadata |
parseDelimitedFrom(InputStream input) |
static FieldOperationMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldOperationMetadata |
parseFrom(byte[] data) |
static FieldOperationMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldOperationMetadata |
parseFrom(ByteBuffer data) |
static FieldOperationMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldOperationMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static FieldOperationMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldOperationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FieldOperationMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FieldOperationMetadata |
parseFrom(InputStream input) |
static FieldOperationMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FieldOperationMetadata> |
parser() |
FieldOperationMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER
public static final int INDEX_CONFIG_DELTAS_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int PROGRESS_DOCUMENTS_FIELD_NUMBER
public static final int PROGRESS_BYTES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;hasStartTime in interface FieldOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;getStartTime in interface FieldOperationMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The time this operation started.
.google.protobuf.Timestamp start_time = 1;getStartTimeOrBuilder in interface FieldOperationMetadataOrBuilderpublic boolean hasEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface FieldOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface FieldOperationMetadataOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time this operation completed. Will be unset if operation still in progress.
.google.protobuf.Timestamp end_time = 2;getEndTimeOrBuilder in interface FieldOperationMetadataOrBuilderpublic String getField()
The field resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
string field = 3;getField in interface FieldOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getFieldBytes()
The field resource that this operation is acting on. For example:
`projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
string field = 3;getFieldBytes in interface FieldOperationMetadataOrBuilderpublic List<FieldOperationMetadata.IndexConfigDelta> getIndexConfigDeltasList()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;
getIndexConfigDeltasList in interface FieldOperationMetadataOrBuilderpublic List<? extends FieldOperationMetadata.IndexConfigDeltaOrBuilder> getIndexConfigDeltasOrBuilderList()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;
getIndexConfigDeltasOrBuilderList in interface FieldOperationMetadataOrBuilderpublic int getIndexConfigDeltasCount()
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;
getIndexConfigDeltasCount in interface FieldOperationMetadataOrBuilderpublic FieldOperationMetadata.IndexConfigDelta getIndexConfigDeltas(int index)
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;
getIndexConfigDeltas in interface FieldOperationMetadataOrBuilderpublic FieldOperationMetadata.IndexConfigDeltaOrBuilder getIndexConfigDeltasOrBuilder(int index)
A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this operation.
repeated .google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta index_config_deltas = 4;
getIndexConfigDeltasOrBuilder in interface FieldOperationMetadataOrBuilderpublic int getStateValue()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 5;getStateValue in interface FieldOperationMetadataOrBuilderpublic OperationState getState()
The state of the operation.
.google.firestore.admin.v1.OperationState state = 5;getState in interface FieldOperationMetadataOrBuilderpublic boolean hasProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;hasProgressDocuments in interface FieldOperationMetadataOrBuilderpublic Progress getProgressDocuments()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;getProgressDocuments in interface FieldOperationMetadataOrBuilderpublic ProgressOrBuilder getProgressDocumentsOrBuilder()
The progress, in documents, of this operation.
.google.firestore.admin.v1.Progress progress_documents = 6;getProgressDocumentsOrBuilder in interface FieldOperationMetadataOrBuilderpublic boolean hasProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;hasProgressBytes in interface FieldOperationMetadataOrBuilderpublic Progress getProgressBytes()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;getProgressBytes in interface FieldOperationMetadataOrBuilderpublic ProgressOrBuilder getProgressBytesOrBuilder()
The progress, in bytes, of this operation.
.google.firestore.admin.v1.Progress progress_bytes = 7;getProgressBytesOrBuilder in interface FieldOperationMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FieldOperationMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FieldOperationMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static FieldOperationMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FieldOperationMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FieldOperationMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FieldOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FieldOperationMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FieldOperationMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FieldOperationMetadata.Builder newBuilder()
public static FieldOperationMetadata.Builder newBuilder(FieldOperationMetadata prototype)
public FieldOperationMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FieldOperationMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FieldOperationMetadata getDefaultInstance()
public static com.google.protobuf.Parser<FieldOperationMetadata> parser()
public com.google.protobuf.Parser<FieldOperationMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FieldOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.