publicfinalclass CommonMetadataextendsGeneratedMessageV3implementsCommonMetadataOrBuilder
Metadata common to all Datastore Admin operations.
Protobuf type google.datastore.admin.v1.CommonMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
publicstaticfinalintEND_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintLABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintOPERATION_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTART_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
publicstaticCommonMetadatagetDefaultInstance()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
publicstaticCommonMetadata.BuildernewBuilder()
publicstaticCommonMetadata.BuildernewBuilder(CommonMetadataprototype)
publicstaticCommonMetadataparseDelimitedFrom(InputStreaminput)
publicstaticCommonMetadataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCommonMetadataparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
publicstaticCommonMetadataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
publicstaticCommonMetadataparseFrom(ByteStringdata)
publicstaticCommonMetadataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCommonMetadataparseFrom(CodedInputStreaminput)
publicstaticCommonMetadataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCommonMetadataparseFrom(InputStreaminput)
publicstaticCommonMetadataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCommonMetadataparseFrom(ByteBufferdata)
publicstaticCommonMetadataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
publicstaticParser<CommonMetadata>parser()
Methods
publicbooleancontainsLabels(Stringkey)
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
map<string, string> labels = 4;
| Parameter |
| Name |
Description |
key |
String
|
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
publicCommonMetadatagetDefaultInstanceForType()
publicTimestampgetEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
publicTimestampOrBuildergetEndTimeOrBuilder()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
publicMap<String,String>getLabels()
publicintgetLabelsCount()
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
map<string, string> labels = 4;
| Returns |
| Type |
Description |
int |
publicMap<String,String>getLabelsMap()
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
map<string, string> labels = 4;
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
map<string, string> labels = 4;
| Returns |
| Type |
Description |
String |
publicStringgetLabelsOrThrow(Stringkey)
The client-assigned labels which were provided when the operation was
created. May also include additional labels.
map<string, string> labels = 4;
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
publicOperationTypegetOperationType()
The type of the operation. Can be used as a filter in
ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
publicintgetOperationTypeValue()
The type of the operation. Can be used as a filter in
ListOperationsRequest.
.google.datastore.admin.v1.OperationType operation_type = 3;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for operationType.
|
publicParser<CommonMetadata>getParserForType()
Overrides
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
publicTimestampgetStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
publicTimestampOrBuildergetStartTimeOrBuilder()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
publicCommonMetadata.StategetState()
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
The current state of the Operation.
.google.datastore.admin.v1.CommonMetadata.State state = 5;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
publicbooleanhasEndTime()
The time the operation ended, either successfully or otherwise.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
publicbooleanhasStartTime()
The time that work began on the operation.
.google.protobuf.Timestamp start_time = 1;
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
| Returns |
| Type |
Description |
int |
Overrides
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
publicfinalbooleanisInitialized()
Overrides
publicCommonMetadata.BuildernewBuilderForType()
protectedCommonMetadata.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
publicCommonMetadata.BuildertoBuilder()
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides