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.v1beta1.ExamplePayload
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExamplePayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExamplePayload build()
buildPartial()
public ExamplePayload buildPartial()
clear()
public ExamplePayload.Builder clear()
Overrides
clearDocument()
public ExamplePayload.Builder clearDocument()
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
clearField(Descriptors.FieldDescriptor field)
public ExamplePayload.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImage()
public ExamplePayload.Builder clearImage()
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ExamplePayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public ExamplePayload.Builder clearPayload()
clearRow()
public ExamplePayload.Builder clearRow()
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
clearTextSnippet()
public ExamplePayload.Builder clearTextSnippet()
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
clone()
public ExamplePayload.Builder clone()
Overrides
getDefaultInstanceForType()
public ExamplePayload getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocument()
public Document getDocument()
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
Returns |
---|
Type | Description |
Document | The document.
|
getDocumentBuilder()
public Document.Builder getDocumentBuilder()
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
getDocumentOrBuilder()
public DocumentOrBuilder getDocumentOrBuilder()
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
getImage()
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
Returns |
---|
Type | Description |
Image | The image.
|
getImageBuilder()
public Image.Builder getImageBuilder()
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
getImageOrBuilder()
public ImageOrBuilder getImageOrBuilder()
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
getPayloadCase()
public ExamplePayload.PayloadCase getPayloadCase()
getRow()
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
Returns |
---|
Type | Description |
Row | The row.
|
getRowBuilder()
public Row.Builder getRowBuilder()
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
getRowOrBuilder()
public RowOrBuilder getRowOrBuilder()
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
getTextSnippet()
public TextSnippet getTextSnippet()
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
getTextSnippetBuilder()
public TextSnippet.Builder getTextSnippetBuilder()
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
getTextSnippetOrBuilder()
public TextSnippetOrBuilder getTextSnippetOrBuilder()
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
hasDocument()
public boolean hasDocument()
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
Returns |
---|
Type | Description |
boolean | Whether the document field is set.
|
hasImage()
public boolean hasImage()
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
Returns |
---|
Type | Description |
boolean | Whether the image field is set.
|
hasRow()
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
Returns |
---|
Type | Description |
boolean | Whether the row field is set.
|
hasTextSnippet()
public boolean hasTextSnippet()
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
Returns |
---|
Type | Description |
boolean | Whether the textSnippet field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDocument(Document value)
public ExamplePayload.Builder mergeDocument(Document value)
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
mergeFrom(ExamplePayload other)
public ExamplePayload.Builder mergeFrom(ExamplePayload other)
public ExamplePayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExamplePayload.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeImage(Image value)
public ExamplePayload.Builder mergeImage(Image value)
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
Parameter |
---|
Name | Description |
value | Image
|
mergeRow(Row value)
public ExamplePayload.Builder mergeRow(Row value)
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
Parameter |
---|
Name | Description |
value | Row
|
mergeTextSnippet(TextSnippet value)
public ExamplePayload.Builder mergeTextSnippet(TextSnippet value)
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExamplePayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocument(Document value)
public ExamplePayload.Builder setDocument(Document value)
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
setDocument(Document.Builder builderForValue)
public ExamplePayload.Builder setDocument(Document.Builder builderForValue)
Example document.
.google.cloud.automl.v1beta1.Document document = 4;
setField(Descriptors.FieldDescriptor field, Object value)
public ExamplePayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setImage(Image value)
public ExamplePayload.Builder setImage(Image value)
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
Parameter |
---|
Name | Description |
value | Image
|
setImage(Image.Builder builderForValue)
public ExamplePayload.Builder setImage(Image.Builder builderForValue)
Example image.
.google.cloud.automl.v1beta1.Image image = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExamplePayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRow(Row value)
public ExamplePayload.Builder setRow(Row value)
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
Parameter |
---|
Name | Description |
value | Row
|
setRow(Row.Builder builderForValue)
public ExamplePayload.Builder setRow(Row.Builder builderForValue)
Example relational table row.
.google.cloud.automl.v1beta1.Row row = 3;
setTextSnippet(TextSnippet value)
public ExamplePayload.Builder setTextSnippet(TextSnippet value)
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
setTextSnippet(TextSnippet.Builder builderForValue)
public ExamplePayload.Builder setTextSnippet(TextSnippet.Builder builderForValue)
Example text.
.google.cloud.automl.v1beta1.TextSnippet text_snippet = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final ExamplePayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides