public static final class SearchResponse.Summary.BlobAttachment.Builder extends GeneratedMessage.Builder<SearchResponse.Summary.BlobAttachment.Builder> implements SearchResponse.Summary.BlobAttachmentOrBuilderStores binarydata attached to text answer, e.g. image, video, audio, etc.
Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchResponse.Summary.BlobAttachment.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchResponse.Summary.BlobAttachment build()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment |
|
buildPartial()
public SearchResponse.Summary.BlobAttachment buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment |
|
clear()
public SearchResponse.Summary.BlobAttachment.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
clearAttributionType()
public SearchResponse.Summary.BlobAttachment.Builder clearAttributionType()Output only. The attribution type of the blob.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.AttributionType attribution_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
This builder for chaining. |
clearData()
public SearchResponse.Summary.BlobAttachment.Builder clearData()Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
getAttributionType()
public SearchResponse.Summary.BlobAttachment.AttributionType getAttributionType()Output only. The attribution type of the blob.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.AttributionType attribution_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.AttributionType |
The attributionType. |
getAttributionTypeValue()
public int getAttributionTypeValue()Output only. The attribution type of the blob.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.AttributionType attribution_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for attributionType. |
getData()
public SearchResponse.Summary.BlobAttachment.Blob getData()Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob |
The data. |
getDataBuilder()
public SearchResponse.Summary.BlobAttachment.Blob.Builder getDataBuilder()Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
|
getDataOrBuilder()
public SearchResponse.Summary.BlobAttachment.BlobOrBuilder getDataOrBuilder()Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.BlobOrBuilder |
|
getDefaultInstanceForType()
public SearchResponse.Summary.BlobAttachment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasData()
public boolean hasData()Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the data field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeData(SearchResponse.Summary.BlobAttachment.Blob value)
public SearchResponse.Summary.BlobAttachment.Builder mergeData(SearchResponse.Summary.BlobAttachment.Blob value)Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SearchResponse.Summary.BlobAttachment.Blob |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
mergeFrom(SearchResponse.Summary.BlobAttachment other)
public SearchResponse.Summary.BlobAttachment.Builder mergeFrom(SearchResponse.Summary.BlobAttachment other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchResponse.Summary.BlobAttachment |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchResponse.Summary.BlobAttachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchResponse.Summary.BlobAttachment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
setAttributionType(SearchResponse.Summary.BlobAttachment.AttributionType value)
public SearchResponse.Summary.BlobAttachment.Builder setAttributionType(SearchResponse.Summary.BlobAttachment.AttributionType value)Output only. The attribution type of the blob.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.AttributionType attribution_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SearchResponse.Summary.BlobAttachment.AttributionTypeThe attributionType to set. |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
This builder for chaining. |
setAttributionTypeValue(int value)
public SearchResponse.Summary.BlobAttachment.Builder setAttributionTypeValue(int value)Output only. The attribution type of the blob.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.AttributionType attribution_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for attributionType to set. |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
This builder for chaining. |
setData(SearchResponse.Summary.BlobAttachment.Blob value)
public SearchResponse.Summary.BlobAttachment.Builder setData(SearchResponse.Summary.BlobAttachment.Blob value)Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
SearchResponse.Summary.BlobAttachment.Blob |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|
setData(SearchResponse.Summary.BlobAttachment.Blob.Builder builderForValue)
public SearchResponse.Summary.BlobAttachment.Builder setData(SearchResponse.Summary.BlobAttachment.Blob.Builder builderForValue)Output only. The blob data.
.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob data = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Builder |
|