public static final class ListVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListVersionsResponse.Builder> implements ListVersionsResponseOrBuilder
The response message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].Protobuf type
google.cloud.dialogflow.v2beta1.ListVersionsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListVersionsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListVersionsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListVersionsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder mergeFrom(ListVersionsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public ListVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListVersionsResponse.Builder>
IOException
public List<Version> getVersionsList()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
getVersionsList
in interface ListVersionsResponseOrBuilder
public int getVersionsCount()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
getVersionsCount
in interface ListVersionsResponseOrBuilder
public Version getVersions(int index)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
getVersions
in interface ListVersionsResponseOrBuilder
public ListVersionsResponse.Builder setVersions(int index, Version value)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder setVersions(int index, Version.Builder builderForValue)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder addVersions(Version value)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder addVersions(int index, Version value)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder addVersions(Version.Builder builderForValue)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder addVersions(int index, Version.Builder builderForValue)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder addAllVersions(Iterable<? extends Version> values)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder clearVersions()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public ListVersionsResponse.Builder removeVersions(int index)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public Version.Builder getVersionsBuilder(int index)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public VersionOrBuilder getVersionsOrBuilder(int index)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
getVersionsOrBuilder
in interface ListVersionsResponseOrBuilder
public List<? extends VersionOrBuilder> getVersionsOrBuilderList()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
getVersionsOrBuilderList
in interface ListVersionsResponseOrBuilder
public Version.Builder addVersionsBuilder()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public Version.Builder addVersionsBuilder(int index)
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
public List<Version.Builder> getVersionsBuilderList()
The list of agent versions. There will be a maximum number of items returned based on the page_size field in the request.
repeated .google.cloud.dialogflow.v2beta1.Version versions = 1;
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;
getNextPageToken
in interface ListVersionsResponseOrBuilder
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;
getNextPageTokenBytes
in interface ListVersionsResponseOrBuilder
public ListVersionsResponse.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;
value
- The nextPageToken to set.public ListVersionsResponse.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;
public ListVersionsResponse.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;
value
- The bytes for nextPageToken to set.public final ListVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
public final ListVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListVersionsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.