public final class FileUpload extends GeneratedMessageV3 implements FileUploadOrBuilder
The file upload of a specific data source, that is, the result of the
retrieval of the data source at a certain timestamp computed asynchronously
when the data source processing is finished. Only applicable to file data
sources.
Protobuf type google.shopping.merchant.datasources.v1beta.FileUpload
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
public static final int DATA_SOURCE_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ISSUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ITEMS_CREATED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ITEMS_TOTAL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ITEMS_UPDATED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROCESSING_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int UPLOAD_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static FileUpload getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static FileUpload.Builder newBuilder()
public static FileUpload.Builder newBuilder(FileUpload prototype)
public static FileUpload parseDelimitedFrom(InputStream input)
public static FileUpload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileUpload parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static FileUpload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileUpload parseFrom(ByteString data)
public static FileUpload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileUpload parseFrom(CodedInputStream input)
public static FileUpload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileUpload parseFrom(InputStream input)
public static FileUpload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileUpload parseFrom(ByteBuffer data)
public static FileUpload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<FileUpload> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public long getDataSourceId()
Output only. The data source id.
int64 data_source_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The dataSourceId.
|
public FileUpload getDefaultInstanceForType()
public FileUpload.Issue getIssues(int index)
Output only. The list of issues occurring in the data source.
repeated .google.shopping.merchant.datasources.v1beta.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public int getIssuesCount()
Output only. The list of issues occurring in the data source.
repeated .google.shopping.merchant.datasources.v1beta.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
public List<FileUpload.Issue> getIssuesList()
Output only. The list of issues occurring in the data source.
repeated .google.shopping.merchant.datasources.v1beta.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public FileUpload.IssueOrBuilder getIssuesOrBuilder(int index)
Output only. The list of issues occurring in the data source.
repeated .google.shopping.merchant.datasources.v1beta.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public List<? extends FileUpload.IssueOrBuilder> getIssuesOrBuilderList()
Output only. The list of issues occurring in the data source.
repeated .google.shopping.merchant.datasources.v1beta.FileUpload.Issue issues = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.shopping.merchant.datasources.v1beta.FileUpload.IssueOrBuilder> |
|
public long getItemsCreated()
Output only. The number of items in the data source that were created.
int64 items_created = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The itemsCreated.
|
public long getItemsTotal()
Output only. The number of items in the data source that were processed.
int64 items_total = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The itemsTotal.
|
public long getItemsUpdated()
Output only. The number of items in the data source that were updated.
int64 items_updated = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The itemsUpdated.
|
Identifier. The name of the data source file upload.
Format:
{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Identifier. The name of the data source file upload.
Format:
{datasource.name=accounts/{account}/dataSources/{datasource}/fileUploads/{fileupload}}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public Parser<FileUpload> getParserForType()
Overrides
public FileUpload.ProcessingState getProcessingState()
Output only. The processing state of the data source.
.google.shopping.merchant.datasources.v1beta.FileUpload.ProcessingState processing_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getProcessingStateValue()
Output only. The processing state of the data source.
.google.shopping.merchant.datasources.v1beta.FileUpload.ProcessingState processing_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for processingState.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public Timestamp getUploadTime()
Output only. The date at which the file of the data source was uploaded.
.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The uploadTime.
|
public TimestampOrBuilder getUploadTimeOrBuilder()
Output only. The date at which the file of the data source was uploaded.
.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasUploadTime()
Output only. The date at which the file of the data source was uploaded.
.google.protobuf.Timestamp upload_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the uploadTime field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public FileUpload.Builder newBuilderForType()
protected FileUpload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public FileUpload.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides