Send feedback
Class ListSampleQuerySetsResponse.Builder (0.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.45.0 keyboard_arrow_down
public static final class ListSampleQuerySetsResponse . Builder extends GeneratedMessageV3 . Builder<ListSampleQuerySetsResponse . Builder > implements ListSampleQuerySetsResponseOrBuilder
Response message for
SampleQuerySetService.ListSampleQuerySets
method.
Protobuf type google.cloud.discoveryengine.v1beta.ListSampleQuerySetsResponse
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
addAllSampleQuerySets(Iterable<? extends SampleQuerySet> values)
public ListSampleQuerySetsResponse . Builder addAllSampleQuerySets ( Iterable <? extends SampleQuerySet > values )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.discoveryengine.v1beta.SampleQuerySet >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSampleQuerySetsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addSampleQuerySets(SampleQuerySet value)
public ListSampleQuerySetsResponse . Builder addSampleQuerySets ( SampleQuerySet value )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse . Builder addSampleQuerySets ( SampleQuerySet . Builder builderForValue )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(int index, SampleQuerySet value)
public ListSampleQuerySetsResponse . Builder addSampleQuerySets ( int index , SampleQuerySet value )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse . Builder addSampleQuerySets ( int index , SampleQuerySet . Builder builderForValue )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
addSampleQuerySetsBuilder()
public SampleQuerySet . Builder addSampleQuerySetsBuilder ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
addSampleQuerySetsBuilder(int index)
public SampleQuerySet . Builder addSampleQuerySetsBuilder ( int index )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
index
int
build()
public ListSampleQuerySetsResponse build ()
buildPartial()
public ListSampleQuerySetsResponse buildPartial ()
clear()
public ListSampleQuerySetsResponse . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSampleQuerySetsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListSampleQuerySetsResponse . Builder clearNextPageToken ()
A token that can be sent as
ListSampleQuerySetsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListSampleQuerySetsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSampleQuerySets()
public ListSampleQuerySetsResponse . Builder clearSampleQuerySets ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
clone()
public ListSampleQuerySetsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListSampleQuerySetsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getNextPageToken()
public String getNextPageToken ()
A token that can be sent as
ListSampleQuerySetsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Returns
Type
Description
String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
A token that can be sent as
ListSampleQuerySetsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Returns
Type
Description
ByteString
The bytes for nextPageToken.
getSampleQuerySets(int index)
public SampleQuerySet getSampleQuerySets ( int index )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
index
int
getSampleQuerySetsBuilder(int index)
public SampleQuerySet . Builder getSampleQuerySetsBuilder ( int index )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
index
int
getSampleQuerySetsBuilderList()
public List<SampleQuerySet . Builder > getSampleQuerySetsBuilderList ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
getSampleQuerySetsCount()
public int getSampleQuerySetsCount ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Returns
Type
Description
int
getSampleQuerySetsList()
public List<SampleQuerySet> getSampleQuerySetsList ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
getSampleQuerySetsOrBuilder(int index)
public SampleQuerySetOrBuilder getSampleQuerySetsOrBuilder ( int index )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
index
int
getSampleQuerySetsOrBuilderList()
public List <? extends SampleQuerySetOrBuilder > getSampleQuerySetsOrBuilderList ()
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Returns
Type
Description
List <? extends com.google.cloud.discoveryengine.v1beta.SampleQuerySetOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListSampleQuerySetsResponse other)
public ListSampleQuerySetsResponse . Builder mergeFrom ( ListSampleQuerySetsResponse other )
public ListSampleQuerySetsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListSampleQuerySetsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSampleQuerySetsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeSampleQuerySets(int index)
public ListSampleQuerySetsResponse . Builder removeSampleQuerySets ( int index )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public ListSampleQuerySetsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListSampleQuerySetsResponse . Builder setNextPageToken ( String value )
A token that can be sent as
ListSampleQuerySetsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListSampleQuerySetsResponse . Builder setNextPageTokenBytes ( ByteString value )
A token that can be sent as
ListSampleQuerySetsRequest.page_token
to retrieve the next page. If this field is omitted, there are no
subsequent pages.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListSampleQuerySetsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSampleQuerySets(int index, SampleQuerySet value)
public ListSampleQuerySetsResponse . Builder setSampleQuerySets ( int index , SampleQuerySet value )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
setSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse . Builder setSampleQuerySets ( int index , SampleQuerySet . Builder builderForValue )
The SampleQuerySet s.
repeated .google.cloud.discoveryengine.v1beta.SampleQuerySet sample_query_sets = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSampleQuerySetsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]