public static final class ListSampleQuerySetsResponse.Builder extends GeneratedMessageV3.Builder<ListSampleQuerySetsResponse.Builder> implements ListSampleQuerySetsResponseOrBuilder
Response message for
SampleQuerySetService.ListSampleQuerySets
method.
Protobuf type google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse.Builder addSampleQuerySets(SampleQuerySet.Builder builderForValue)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(int index, SampleQuerySet value)
public ListSampleQuerySetsResponse.Builder addSampleQuerySets(int index, SampleQuerySet value)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
addSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse.Builder addSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
addSampleQuerySetsBuilder()
public SampleQuerySet.Builder addSampleQuerySetsBuilder()
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
addSampleQuerySetsBuilder(int index)
public SampleQuerySet.Builder addSampleQuerySetsBuilder(int index)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQuerySetsBuilder(int index)
public SampleQuerySet.Builder getSampleQuerySetsBuilder(int index)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQuerySetsBuilderList()
public List<SampleQuerySet.Builder> getSampleQuerySetsBuilderList()
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
getSampleQuerySetsCount()
public int getSampleQuerySetsCount()
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Returns |
Type |
Description |
int |
|
getSampleQuerySetsList()
public List<SampleQuerySet> getSampleQuerySetsList()
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
getSampleQuerySetsOrBuilder(int index)
public SampleQuerySetOrBuilder getSampleQuerySetsOrBuilder(int index)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQuerySetsOrBuilderList()
public List<? extends SampleQuerySetOrBuilder> getSampleQuerySetsOrBuilderList()
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.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 SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
setSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
public ListSampleQuerySetsResponse.Builder setSampleQuerySets(int index, SampleQuerySet.Builder builderForValue)
The SampleQuerySets.
repeated .google.cloud.discoveryengine.v1alpha.SampleQuerySet sample_query_sets = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSampleQuerySetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides