public interface PrivateOfferDocumentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContentCase()
public abstract PrivateOfferDocument.ContentCase getContentCase()| Returns | |
|---|---|
| Type | Description |
PrivateOfferDocument.ContentCase |
|
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The creation time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDocumentType()
public abstract PrivateOfferDocument.DocumentType getDocumentType()Required. The classification type of the document. Used to distinguish between different types of documents that may be attached to a private offer for different business purposes.
.google.cloud.commerceproducer.v1beta.PrivateOfferDocument.DocumentType document_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PrivateOfferDocument.DocumentType |
The documentType. |
getDocumentTypeValue()
public abstract int getDocumentTypeValue()Required. The classification type of the document. Used to distinguish between different types of documents that may be attached to a private offer for different business purposes.
.google.cloud.commerceproducer.v1beta.PrivateOfferDocument.DocumentType document_type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for documentType. |
getInlineContent()
public abstract ByteString getInlineContent()Optional. Byte content of an unstructured document. Max size: 4MB
bytes inline_content = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The inlineContent. |
getMimeType()
public abstract String getMimeType()Optional. The MIME type of the document. Used to distinguish between different document formats. Supported formats (which may be expanded in the future)
- 'application/pdf'
string mime_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()Optional. The MIME type of the document. Used to distinguish between different document formats. Supported formats (which may be expanded in the future)
- 'application/pdf'
string mime_type = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
getName()
public abstract String getName()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. Name of the resource.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The creation time of the resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasInlineContent()
public abstract boolean hasInlineContent()Optional. Byte content of an unstructured document. Max size: 4MB
bytes inline_content = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inlineContent field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The last update time of the resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |