Class DataStore.ServingConfigDataStore.Builder (0.50.0)

public static final class DataStore.ServingConfigDataStore.Builder extends GeneratedMessageV3.Builder<DataStore.ServingConfigDataStore.Builder> implements DataStore.ServingConfigDataStoreOrBuilder

Stores information regarding the serving configurations at DataStore level.

Protobuf type google.cloud.discoveryengine.v1beta.DataStore.ServingConfigDataStore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataStore.ServingConfigDataStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

build()

public DataStore.ServingConfigDataStore build()
Returns
Type Description
DataStore.ServingConfigDataStore

buildPartial()

public DataStore.ServingConfigDataStore buildPartial()
Returns
Type Description
DataStore.ServingConfigDataStore

clear()

public DataStore.ServingConfigDataStore.Builder clear()
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

clearDisabledForServing()

public DataStore.ServingConfigDataStore.Builder clearDisabledForServing()

If set true, the DataStore will not be available for serving search requests.

bool disabled_for_serving = 1;

Returns
Type Description
DataStore.ServingConfigDataStore.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DataStore.ServingConfigDataStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataStore.ServingConfigDataStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

clone()

public DataStore.ServingConfigDataStore.Builder clone()
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

getDefaultInstanceForType()

public DataStore.ServingConfigDataStore getDefaultInstanceForType()
Returns
Type Description
DataStore.ServingConfigDataStore

getDescriptorForType()

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

getDisabledForServing()

public boolean getDisabledForServing()

If set true, the DataStore will not be available for serving search requests.

bool disabled_for_serving = 1;

Returns
Type Description
boolean

The disabledForServing.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStore.ServingConfigDataStore other)

public DataStore.ServingConfigDataStore.Builder mergeFrom(DataStore.ServingConfigDataStore other)
Parameter
Name Description
other DataStore.ServingConfigDataStore
Returns
Type Description
DataStore.ServingConfigDataStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataStore.ServingConfigDataStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataStore.ServingConfigDataStore.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataStore.ServingConfigDataStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

setDisabledForServing(boolean value)

public DataStore.ServingConfigDataStore.Builder setDisabledForServing(boolean value)

If set true, the DataStore will not be available for serving search requests.

bool disabled_for_serving = 1;

Parameter
Name Description
value boolean

The disabledForServing to set.

Returns
Type Description
DataStore.ServingConfigDataStore.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataStore.ServingConfigDataStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

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

public DataStore.ServingConfigDataStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataStore.ServingConfigDataStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataStore.ServingConfigDataStore.Builder
Overrides