public static final class ListContextsResponse.Builder extends GeneratedMessageV3.Builder<ListContextsResponse.Builder> implements ListContextsResponseOrBuilder
The response message for
Contexts.ListContexts.
Protobuf type google.cloud.dialogflow.v2beta1.ListContextsResponse
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
addAllContexts(Iterable<? extends Context> values)
public ListContextsResponse.Builder addAllContexts(Iterable<? extends Context> values)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.v2beta1.Context>
|
addContexts(Context value)
public ListContextsResponse.Builder addContexts(Context value)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
value |
Context
|
addContexts(Context.Builder builderForValue)
public ListContextsResponse.Builder addContexts(Context.Builder builderForValue)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
addContexts(int index, Context value)
public ListContextsResponse.Builder addContexts(int index, Context value)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Context
|
addContexts(int index, Context.Builder builderForValue)
public ListContextsResponse.Builder addContexts(int index, Context.Builder builderForValue)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
addContextsBuilder()
public Context.Builder addContextsBuilder()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
addContextsBuilder(int index)
public Context.Builder addContextsBuilder(int index)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListContextsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListContextsResponse build()
buildPartial()
public ListContextsResponse buildPartial()
clear()
public ListContextsResponse.Builder clear()
Overrides
clearContexts()
public ListContextsResponse.Builder clearContexts()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
clearField(Descriptors.FieldDescriptor field)
public ListContextsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListContextsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListContextsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListContextsResponse.Builder clone()
Overrides
getContexts(int index)
public Context getContexts(int index)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsBuilder(int index)
public Context.Builder getContextsBuilder(int index)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsBuilderList()
public List<Context.Builder> getContextsBuilderList()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
getContextsCount()
public int getContextsCount()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Returns |
Type |
Description |
int |
|
getContextsList()
public List<Context> getContextsList()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
getContextsOrBuilder(int index)
public ContextOrBuilder getContextsOrBuilder(int index)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
getContextsOrBuilderList()
public List<? extends ContextOrBuilder> getContextsOrBuilderList()
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2beta1.ContextOrBuilder> |
|
getDefaultInstanceForType()
public ListContextsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListContextsResponse other)
public ListContextsResponse.Builder mergeFrom(ListContextsResponse other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListContextsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListContextsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListContextsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeContexts(int index)
public ListContextsResponse.Builder removeContexts(int index)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameter |
Name |
Description |
index |
int
|
setContexts(int index, Context value)
public ListContextsResponse.Builder setContexts(int index, Context value)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Context
|
setContexts(int index, Context.Builder builderForValue)
public ListContextsResponse.Builder setContexts(int index, Context.Builder builderForValue)
The list of contexts. There will be a maximum number of items
returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Context contexts = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListContextsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListContextsResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListContextsResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
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 ListContextsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListContextsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides