public static final class ListSampleQueriesResponse.Builder extends GeneratedMessageV3.Builder<ListSampleQueriesResponse.Builder> implements ListSampleQueriesResponseOrBuilder
Response message for
SampleQueryService.ListSampleQueries
method.
Protobuf type google.cloud.discoveryengine.v1beta.ListSampleQueriesResponse
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
addAllSampleQueries(Iterable<? extends SampleQuery> values)
public ListSampleQueriesResponse.Builder addAllSampleQueries(Iterable<? extends SampleQuery> values)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.SampleQuery>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListSampleQueriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSampleQueries(SampleQuery value)
public ListSampleQueriesResponse.Builder addSampleQueries(SampleQuery value)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
addSampleQueries(SampleQuery.Builder builderForValue)
public ListSampleQueriesResponse.Builder addSampleQueries(SampleQuery.Builder builderForValue)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
addSampleQueries(int index, SampleQuery value)
public ListSampleQueriesResponse.Builder addSampleQueries(int index, SampleQuery value)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
addSampleQueries(int index, SampleQuery.Builder builderForValue)
public ListSampleQueriesResponse.Builder addSampleQueries(int index, SampleQuery.Builder builderForValue)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
addSampleQueriesBuilder()
public SampleQuery.Builder addSampleQueriesBuilder()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
addSampleQueriesBuilder(int index)
public SampleQuery.Builder addSampleQueriesBuilder(int index)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListSampleQueriesResponse build()
buildPartial()
public ListSampleQueriesResponse buildPartial()
clear()
public ListSampleQueriesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListSampleQueriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListSampleQueriesResponse.Builder clearNextPageToken()
A token that can be sent as
ListSampleQueriesRequest.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 ListSampleQueriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSampleQueries()
public ListSampleQueriesResponse.Builder clearSampleQueries()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
clone()
public ListSampleQueriesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListSampleQueriesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that can be sent as
ListSampleQueriesRequest.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
ListSampleQueriesRequest.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.
|
getSampleQueries(int index)
public SampleQuery getSampleQueries(int index)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQueriesBuilder(int index)
public SampleQuery.Builder getSampleQueriesBuilder(int index)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQueriesBuilderList()
public List<SampleQuery.Builder> getSampleQueriesBuilderList()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
getSampleQueriesCount()
public int getSampleQueriesCount()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Returns |
Type |
Description |
int |
|
getSampleQueriesList()
public List<SampleQuery> getSampleQueriesList()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
getSampleQueriesOrBuilder(int index)
public SampleQueryOrBuilder getSampleQueriesOrBuilder(int index)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
index |
int
|
getSampleQueriesOrBuilderList()
public List<? extends SampleQueryOrBuilder> getSampleQueriesOrBuilderList()
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.SampleQueryOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListSampleQueriesResponse other)
public ListSampleQueriesResponse.Builder mergeFrom(ListSampleQueriesResponse other)
public ListSampleQueriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListSampleQueriesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListSampleQueriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSampleQueries(int index)
public ListSampleQueriesResponse.Builder removeSampleQueries(int index)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListSampleQueriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListSampleQueriesResponse.Builder setNextPageToken(String value)
A token that can be sent as
ListSampleQueriesRequest.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 ListSampleQueriesResponse.Builder setNextPageTokenBytes(ByteString value)
A token that can be sent as
ListSampleQueriesRequest.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 ListSampleQueriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSampleQueries(int index, SampleQuery value)
public ListSampleQueriesResponse.Builder setSampleQueries(int index, SampleQuery value)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
setSampleQueries(int index, SampleQuery.Builder builderForValue)
public ListSampleQueriesResponse.Builder setSampleQueries(int index, SampleQuery.Builder builderForValue)
The SampleQuerys.
repeated .google.cloud.discoveryengine.v1beta.SampleQuery sample_queries = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListSampleQueriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides