public final class ImportMetadata extends GeneratedMessageV3 implements ImportMetadataOrBuilder
Metadata related to the progress of the Import operation. This will be
returned by the google.longrunning.Operation.metadata field.
Protobuf type google.cloud.recommendationengine.v1beta1.ImportMetadata
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int FAILURE_COUNT_FIELD_NUMBER
Field Value
public static final int OPERATION_NAME_FIELD_NUMBER
Field Value
public static final int REQUEST_ID_FIELD_NUMBER
Field Value
public static final int SUCCESS_COUNT_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
public static ImportMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ImportMetadata.Builder newBuilder()
Returns
public static ImportMetadata.Builder newBuilder(ImportMetadata prototype)
Parameter
Returns
public static ImportMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ImportMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ImportMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ImportMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ImportMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 4;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Operation create time.
.google.protobuf.Timestamp create_time = 4;
Returns
public ImportMetadata getDefaultInstanceForType()
Returns
public long getFailureCount()
Count of entries that encountered errors while processing.
int64 failure_count = 2;
Returns
Type | Description |
long | The failureCount.
|
public String getOperationName()
Name of the operation.
string operation_name = 5;
Returns
Type | Description |
String | The operationName.
|
public ByteString getOperationNameBytes()
Name of the operation.
string operation_name = 5;
Returns
Type | Description |
ByteString | The bytes for operationName.
|
public Parser<ImportMetadata> getParserForType()
Returns
Overrides
public String getRequestId()
Id of the request / operation. This is parroting back the requestId that
was passed in the request.
string request_id = 3;
Returns
Type | Description |
String | The requestId.
|
public ByteString getRequestIdBytes()
Id of the request / operation. This is parroting back the requestId that
was passed in the request.
string request_id = 3;
Returns
public int getSerializedSize()
Returns
Overrides
public long getSuccessCount()
Count of entries that were processed successfully.
int64 success_count = 1;
Returns
Type | Description |
long | The successCount.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public Timestamp getUpdateTime()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 6;
Returns
public TimestampOrBuilder getUpdateTimeOrBuilder()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 6;
Returns
public boolean hasCreateTime()
Operation create time.
.google.protobuf.Timestamp create_time = 4;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasUpdateTime()
Operation last update time. If the operation is done, this is also the
finish time.
.google.protobuf.Timestamp update_time = 6;
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportMetadata.Builder newBuilderForType()
Returns
protected ImportMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ImportMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions