Class SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder (0.40.0)

public static final class SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder extends GeneratedMessageV3.Builder<SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder> implements SearchRequest.ContentSearchSpec.SummarySpec.ModelSpecOrBuilder

Specification of the model.

Protobuf type google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

build()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec build()
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec

buildPartial()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec buildPartial()
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec

clear()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clear()
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

clearVersion()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clearVersion()

The model version used to generate the summary.

Supported values are:

string version = 1;

Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder

This builder for chaining.

clone()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder clone()
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

getDefaultInstanceForType()

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec getDefaultInstanceForType()
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVersion()

public String getVersion()

The model version used to generate the summary.

Supported values are:

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The model version used to generate the summary.

Supported values are:

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec other)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec other)
Parameter
Name Description
other SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder
Overrides

setVersion(String value)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setVersion(String value)

The model version used to generate the summary.

Supported values are:

string version = 1;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder setVersionBytes(ByteString value)

The model version used to generate the summary.

Supported values are:

string version = 1;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
SearchRequest.ContentSearchSpec.SummarySpec.ModelSpec.Builder

This builder for chaining.