public static final class SearchResponse.Summary.BlobAttachment.Blob.Builder extends GeneratedMessage.Builder<SearchResponse.Summary.BlobAttachment.Blob.Builder> implements SearchResponse.Summary.BlobAttachment.BlobOrBuilderStores type and data of the blob.
Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchResponse.Summary.BlobAttachment.Blob.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchResponse.Summary.BlobAttachment.Blob build()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob |
|
buildPartial()
public SearchResponse.Summary.BlobAttachment.Blob buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob |
|
clear()
public SearchResponse.Summary.BlobAttachment.Blob.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
|
clearData()
public SearchResponse.Summary.BlobAttachment.Blob.Builder clearData()Output only. Raw bytes.
bytes data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
This builder for chaining. |
clearMimeType()
public SearchResponse.Summary.BlobAttachment.Blob.Builder clearMimeType()Output only. The media type (MIME type) of the generated data.
string mime_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
This builder for chaining. |
getData()
public ByteString getData()Output only. Raw bytes.
bytes data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The data. |
getDefaultInstanceForType()
public SearchResponse.Summary.BlobAttachment.Blob getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMimeType()
public String getMimeType()Output only. The media type (MIME type) of the generated data.
string mime_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public ByteString getMimeTypeBytes()Output only. The media type (MIME type) of the generated data.
string mime_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchResponse.Summary.BlobAttachment.Blob other)
public SearchResponse.Summary.BlobAttachment.Blob.Builder mergeFrom(SearchResponse.Summary.BlobAttachment.Blob other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchResponse.Summary.BlobAttachment.Blob |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchResponse.Summary.BlobAttachment.Blob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchResponse.Summary.BlobAttachment.Blob.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
|
setData(ByteString value)
public SearchResponse.Summary.BlobAttachment.Blob.Builder setData(ByteString value)Output only. Raw bytes.
bytes data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe data to set. |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
This builder for chaining. |
setMimeType(String value)
public SearchResponse.Summary.BlobAttachment.Blob.Builder setMimeType(String value)Output only. The media type (MIME type) of the generated data.
string mime_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
This builder for chaining. |
setMimeTypeBytes(ByteString value)
public SearchResponse.Summary.BlobAttachment.Blob.Builder setMimeTypeBytes(ByteString value)Output only. The media type (MIME type) of the generated data.
string mime_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mimeType to set. |
| Returns | |
|---|---|
| Type | Description |
SearchResponse.Summary.BlobAttachment.Blob.Builder |
This builder for chaining. |