public final class FileView extends GeneratedMessageV3 implements FileViewOrBuilder
Represents a specific alternate version or "view" of a file object,
such as a summary, a thumbnail, a translated version, etc.
Protobuf type google.cloud.discoveryengine.v1alpha.FileView
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
BYTE_SIZE_FIELD_NUMBER
public static final int BYTE_SIZE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FILE_CHARACTERISTICS_FIELD_NUMBER
public static final int FILE_CHARACTERISTICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IMAGE_CHARACTERISTICS_FIELD_NUMBER
public static final int IMAGE_CHARACTERISTICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VIDEO_CHARACTERISTICS_FIELD_NUMBER
public static final int VIDEO_CHARACTERISTICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VIEW_ID_FIELD_NUMBER
public static final int VIEW_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FileView getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FileView.Builder newBuilder()
newBuilder(FileView prototype)
public static FileView.Builder newBuilder(FileView prototype)
Parameter |
Name |
Description |
prototype |
FileView
|
public static FileView parseDelimitedFrom(InputStream input)
public static FileView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FileView parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FileView parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileView parseFrom(CodedInputStream input)
public static FileView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileView parseFrom(InputStream input)
public static FileView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FileView parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FileView> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getByteSize()
public long getByteSize()
Output only. The size of the view in bytes.
int64 byte_size = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
long |
The byteSize.
|
getCharacteristicsCase()
public FileView.CharacteristicsCase getCharacteristicsCase()
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the view was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the view was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public FileView getDefaultInstanceForType()
getFileCharacteristics()
public FileCharacteristics getFileCharacteristics()
Output only. Characteristics of other file types.
.google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFileCharacteristicsOrBuilder()
public FileCharacteristicsOrBuilder getFileCharacteristicsOrBuilder()
Output only. Characteristics of other file types.
.google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getImageCharacteristics()
public ImageCharacteristics getImageCharacteristics()
Output only. Characteristics of an image media view.
.google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getImageCharacteristicsOrBuilder()
public ImageCharacteristicsOrBuilder getImageCharacteristicsOrBuilder()
Output only. Characteristics of an image media view.
.google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMimeType()
public String getMimeType()
Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain",
"video/mp4")
string mime_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The mimeType.
|
getMimeTypeBytes()
public ByteString getMimeTypeBytes()
Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain",
"video/mp4")
string mime_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for mimeType.
|
getParserForType()
public Parser<FileView> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUri()
Output only. The URI to access this media view.
string uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
Output only. The URI to access this media view.
string uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for uri.
|
getVideoCharacteristics()
public VideoCharacteristics getVideoCharacteristics()
Output only. Characteristics of a video media view.
.google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVideoCharacteristicsOrBuilder()
public VideoCharacteristicsOrBuilder getVideoCharacteristicsOrBuilder()
Output only. Characteristics of a video media view.
.google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getViewId()
public String getViewId()
Output only. Globally Unique id for this specific view.
string view_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The viewId.
|
getViewIdBytes()
public ByteString getViewIdBytes()
Output only. Globally Unique id for this specific view.
string view_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for viewId.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the view was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasFileCharacteristics()
public boolean hasFileCharacteristics()
Output only. Characteristics of other file types.
.google.cloud.discoveryengine.v1alpha.FileCharacteristics file_characteristics = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the fileCharacteristics field is set.
|
hasImageCharacteristics()
public boolean hasImageCharacteristics()
Output only. Characteristics of an image media view.
.google.cloud.discoveryengine.v1alpha.ImageCharacteristics image_characteristics = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the imageCharacteristics field is set.
|
hasVideoCharacteristics()
public boolean hasVideoCharacteristics()
Output only. Characteristics of a video media view.
.google.cloud.discoveryengine.v1alpha.VideoCharacteristics video_characteristics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the videoCharacteristics field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FileView.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FileView.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides