public interface TextSnippetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Required.
|
com.google.protobuf.ByteString |
getContentBytes()
Required.
|
String |
getContentUri()
Output only.
|
com.google.protobuf.ByteString |
getContentUriBytes()
Output only.
|
String |
getMimeType()
Optional.
|
com.google.protobuf.ByteString |
getMimeTypeBytes()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getContent()
Required. The content of the text snippet as a string. Up to 250000 characters long.
string content = 1;com.google.protobuf.ByteString getContentBytes()
Required. The content of the text snippet as a string. Up to 250000 characters long.
string content = 1;String getMimeType()
Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed values are "text/html" and "text/plain". If left blank, the format is automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
string mime_type = 2;com.google.protobuf.ByteString getMimeTypeBytes()
Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed values are "text/html" and "text/plain". If left blank, the format is automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
string mime_type = 2;String getContentUri()
Output only. HTTP URI where you can download the content.
string content_uri = 4;com.google.protobuf.ByteString getContentUriBytes()
Output only. HTTP URI where you can download the content.
string content_uri = 4;Copyright © 2025 Google LLC. All rights reserved.