Class SearchResponse.Summary.BlobAttachment.Blob (0.90.0)

public static final class SearchResponse.Summary.BlobAttachment.Blob extends GeneratedMessage implements SearchResponse.Summary.BlobAttachment.BlobOrBuilder

Stores type and data of the blob.

Protobuf type google.cloud.discoveryengine.v1beta.SearchResponse.Summary.BlobAttachment.Blob

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SearchResponse.Summary.BlobAttachment.Blob

Static Fields

DATA_FIELD_NUMBER

public static final int DATA_FIELD_NUMBER
Field Value
Type Description
int

MIME_TYPE_FIELD_NUMBER

public static final int MIME_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchResponse.Summary.BlobAttachment.Blob getDefaultInstance()
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchResponse.Summary.BlobAttachment.Blob.Builder newBuilder()
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob.Builder

newBuilder(SearchResponse.Summary.BlobAttachment.Blob prototype)

public static SearchResponse.Summary.BlobAttachment.Blob.Builder newBuilder(SearchResponse.Summary.BlobAttachment.Blob prototype)
Parameter
Name Description
prototype SearchResponse.Summary.BlobAttachment.Blob
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob.Builder

parseDelimitedFrom(InputStream input)

public static SearchResponse.Summary.BlobAttachment.Blob parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.Summary.BlobAttachment.Blob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchResponse.Summary.BlobAttachment.Blob> parser()
Returns
Type Description
Parser<Blob>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<SearchResponse.Summary.BlobAttachment.Blob> getParserForType()
Returns
Type Description
Parser<Blob>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchResponse.Summary.BlobAttachment.Blob.Builder newBuilderForType()
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SearchResponse.Summary.BlobAttachment.Blob.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob.Builder
Overrides

toBuilder()

public SearchResponse.Summary.BlobAttachment.Blob.Builder toBuilder()
Returns
Type Description
SearchResponse.Summary.BlobAttachment.Blob.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException