- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.18
- 2.2.3
- 2.1.23
public static final class ExamplePayload.Builder extends GeneratedMessageV3.Builder<ExamplePayload.Builder> implements ExamplePayloadOrBuilder
Example data used for training or prediction.
Protobuf type google.cloud.automl.v1.ExamplePayload
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExamplePayload.BuilderImplements
ExamplePayloadOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExamplePayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExamplePayload.Builder |
build()
public ExamplePayload build()
Type | Description |
ExamplePayload |
buildPartial()
public ExamplePayload buildPartial()
Type | Description |
ExamplePayload |
clear()
public ExamplePayload.Builder clear()
Type | Description |
ExamplePayload.Builder |
clearDocument()
public ExamplePayload.Builder clearDocument()
Example document.
.google.cloud.automl.v1.Document document = 4;
Type | Description |
ExamplePayload.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExamplePayload.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ExamplePayload.Builder |
clearImage()
public ExamplePayload.Builder clearImage()
Example image.
.google.cloud.automl.v1.Image image = 1;
Type | Description |
ExamplePayload.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExamplePayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ExamplePayload.Builder |
clearPayload()
public ExamplePayload.Builder clearPayload()
Type | Description |
ExamplePayload.Builder |
clearTextSnippet()
public ExamplePayload.Builder clearTextSnippet()
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Type | Description |
ExamplePayload.Builder |
clone()
public ExamplePayload.Builder clone()
Type | Description |
ExamplePayload.Builder |
getDefaultInstanceForType()
public ExamplePayload getDefaultInstanceForType()
Type | Description |
ExamplePayload |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDocument()
public Document getDocument()
Example document.
.google.cloud.automl.v1.Document document = 4;
Type | Description |
Document | The document. |
getDocumentBuilder()
public Document.Builder getDocumentBuilder()
Example document.
.google.cloud.automl.v1.Document document = 4;
Type | Description |
Document.Builder |
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
Example document.
.google.cloud.automl.v1.Document document = 4;
Type | Description |
DocumentOrBuilder |
getImage()
public Image getImage()
Example image.
.google.cloud.automl.v1.Image image = 1;
Type | Description |
Image | The image. |
getImageBuilder()
public Image.Builder getImageBuilder()
Example image.
.google.cloud.automl.v1.Image image = 1;
Type | Description |
Image.Builder |
getImageOrBuilder()
public ImageOrBuilder getImageOrBuilder()
Example image.
.google.cloud.automl.v1.Image image = 1;
Type | Description |
ImageOrBuilder |
getPayloadCase()
public ExamplePayload.PayloadCase getPayloadCase()
Type | Description |
ExamplePayload.PayloadCase |
getTextSnippet()
public TextSnippet getTextSnippet()
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Type | Description |
TextSnippet | The textSnippet. |
getTextSnippetBuilder()
public TextSnippet.Builder getTextSnippetBuilder()
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Type | Description |
TextSnippet.Builder |
getTextSnippetOrBuilder()
public TextSnippetOrBuilder getTextSnippetOrBuilder()
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Type | Description |
TextSnippetOrBuilder |
hasDocument()
public boolean hasDocument()
Example document.
.google.cloud.automl.v1.Document document = 4;
Type | Description |
boolean | Whether the document field is set. |
hasImage()
public boolean hasImage()
Example image.
.google.cloud.automl.v1.Image image = 1;
Type | Description |
boolean | Whether the image field is set. |
hasTextSnippet()
public boolean hasTextSnippet()
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Type | Description |
boolean | Whether the textSnippet field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeDocument(Document value)
public ExamplePayload.Builder mergeDocument(Document value)
Example document.
.google.cloud.automl.v1.Document document = 4;
Name | Description |
value | Document |
Type | Description |
ExamplePayload.Builder |
mergeFrom(ExamplePayload other)
public ExamplePayload.Builder mergeFrom(ExamplePayload other)
Name | Description |
other | ExamplePayload |
Type | Description |
ExamplePayload.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExamplePayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExamplePayload.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ExamplePayload.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ExamplePayload.Builder |
mergeImage(Image value)
public ExamplePayload.Builder mergeImage(Image value)
Example image.
.google.cloud.automl.v1.Image image = 1;
Name | Description |
value | Image |
Type | Description |
ExamplePayload.Builder |
mergeTextSnippet(TextSnippet value)
public ExamplePayload.Builder mergeTextSnippet(TextSnippet value)
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Name | Description |
value | TextSnippet |
Type | Description |
ExamplePayload.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExamplePayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExamplePayload.Builder |
setDocument(Document value)
public ExamplePayload.Builder setDocument(Document value)
Example document.
.google.cloud.automl.v1.Document document = 4;
Name | Description |
value | Document |
Type | Description |
ExamplePayload.Builder |
setDocument(Document.Builder builderForValue)
public ExamplePayload.Builder setDocument(Document.Builder builderForValue)
Example document.
.google.cloud.automl.v1.Document document = 4;
Name | Description |
builderForValue | Document.Builder |
Type | Description |
ExamplePayload.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExamplePayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExamplePayload.Builder |
setImage(Image value)
public ExamplePayload.Builder setImage(Image value)
Example image.
.google.cloud.automl.v1.Image image = 1;
Name | Description |
value | Image |
Type | Description |
ExamplePayload.Builder |
setImage(Image.Builder builderForValue)
public ExamplePayload.Builder setImage(Image.Builder builderForValue)
Example image.
.google.cloud.automl.v1.Image image = 1;
Name | Description |
builderForValue | Image.Builder |
Type | Description |
ExamplePayload.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExamplePayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ExamplePayload.Builder |
setTextSnippet(TextSnippet value)
public ExamplePayload.Builder setTextSnippet(TextSnippet value)
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Name | Description |
value | TextSnippet |
Type | Description |
ExamplePayload.Builder |
setTextSnippet(TextSnippet.Builder builderForValue)
public ExamplePayload.Builder setTextSnippet(TextSnippet.Builder builderForValue)
Example text.
.google.cloud.automl.v1.TextSnippet text_snippet = 2;
Name | Description |
builderForValue | TextSnippet.Builder |
Type | Description |
ExamplePayload.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExamplePayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExamplePayload.Builder |