public static final class ListCustomModelsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomModelsResponse.Builder> implements ListCustomModelsResponseOrBuilder
Response message for
SearchTuningService.ListCustomModels
method.
Protobuf type google.cloud.discoveryengine.v1.ListCustomModelsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllModels(Iterable<? extends CustomTuningModel> values)
public ListCustomModelsResponse.Builder addAllModels(Iterable<? extends CustomTuningModel> values)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.CustomTuningModel>
|
addModels(CustomTuningModel value)
public ListCustomModelsResponse.Builder addModels(CustomTuningModel value)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
addModels(CustomTuningModel.Builder builderForValue)
public ListCustomModelsResponse.Builder addModels(CustomTuningModel.Builder builderForValue)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
addModels(int index, CustomTuningModel value)
public ListCustomModelsResponse.Builder addModels(int index, CustomTuningModel value)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
addModels(int index, CustomTuningModel.Builder builderForValue)
public ListCustomModelsResponse.Builder addModels(int index, CustomTuningModel.Builder builderForValue)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
addModelsBuilder()
public CustomTuningModel.Builder addModelsBuilder()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
addModelsBuilder(int index)
public CustomTuningModel.Builder addModelsBuilder(int index)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCustomModelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCustomModelsResponse build()
buildPartial()
public ListCustomModelsResponse buildPartial()
clear()
public ListCustomModelsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListCustomModelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearModels()
public ListCustomModelsResponse.Builder clearModels()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCustomModelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCustomModelsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListCustomModelsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getModels(int index)
public CustomTuningModel getModels(int index)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
index |
int
|
getModelsBuilder(int index)
public CustomTuningModel.Builder getModelsBuilder(int index)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
index |
int
|
getModelsBuilderList()
public List<CustomTuningModel.Builder> getModelsBuilderList()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
getModelsCount()
public int getModelsCount()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Returns |
Type |
Description |
int |
|
getModelsList()
public List<CustomTuningModel> getModelsList()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
getModelsOrBuilder(int index)
public CustomTuningModelOrBuilder getModelsOrBuilder(int index)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
index |
int
|
getModelsOrBuilderList()
public List<? extends CustomTuningModelOrBuilder> getModelsOrBuilderList()
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.CustomTuningModelOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCustomModelsResponse other)
public ListCustomModelsResponse.Builder mergeFrom(ListCustomModelsResponse other)
public ListCustomModelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCustomModelsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomModelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeModels(int index)
public ListCustomModelsResponse.Builder removeModels(int index)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListCustomModelsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setModels(int index, CustomTuningModel value)
public ListCustomModelsResponse.Builder setModels(int index, CustomTuningModel value)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
setModels(int index, CustomTuningModel.Builder builderForValue)
public ListCustomModelsResponse.Builder setModels(int index, CustomTuningModel.Builder builderForValue)
List of custom tuning models.
repeated .google.cloud.discoveryengine.v1.CustomTuningModel models = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCustomModelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCustomModelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides