Class DataStore.ServingConfigDataStore.Builder (0.79.0)

public static final class DataStore.ServingConfigDataStore.Builder extends GeneratedMessage.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

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.

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 GeneratedMessage.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

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.