public static final class ListVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListVersionsResponse.Builder> implements ListVersionsResponseOrBuilder
The response message for Versions.ListVersions.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListVersionsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllVersions(Iterable<? extends Version> values)
public ListVersionsResponse.Builder addAllVersions(Iterable<? extends Version> values)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Version>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addVersions(Version value)
public ListVersionsResponse.Builder addVersions(Version value)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
addVersions(Version.Builder builderForValue)
public ListVersionsResponse.Builder addVersions(Version.Builder builderForValue)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
addVersions(int index, Version value)
public ListVersionsResponse.Builder addVersions(int index, Version value)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameters
Returns
addVersions(int index, Version.Builder builderForValue)
public ListVersionsResponse.Builder addVersions(int index, Version.Builder builderForValue)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameters
Returns
addVersionsBuilder()
public Version.Builder addVersionsBuilder()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
addVersionsBuilder(int index)
public Version.Builder addVersionsBuilder(int index)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
build()
public ListVersionsResponse build()
Returns
buildPartial()
public ListVersionsResponse buildPartial()
Returns
clear()
public ListVersionsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVersions()
public ListVersionsResponse.Builder clearVersions()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
clone()
public ListVersionsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListVersionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
getVersions(int index)
public Version getVersions(int index)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
getVersionsBuilder(int index)
public Version.Builder getVersionsBuilder(int index)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
getVersionsBuilderList()
public List<Version.Builder> getVersionsBuilderList()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
getVersionsCount()
public int getVersionsCount()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
getVersionsList()
public List<Version> getVersionsList()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
getVersionsOrBuilder(int index)
public VersionOrBuilder getVersionsOrBuilder(int index)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
getVersionsOrBuilderList()
public List<? extends VersionOrBuilder> getVersionsOrBuilderList()
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.VersionOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListVersionsResponse other)
public ListVersionsResponse.Builder mergeFrom(ListVersionsResponse other)
Parameter
Returns
public ListVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeVersions(int index)
public ListVersionsResponse.Builder removeVersions(int index)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
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;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVersions(int index, Version value)
public ListVersionsResponse.Builder setVersions(int index, Version value)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameters
Returns
setVersions(int index, Version.Builder builderForValue)
public ListVersionsResponse.Builder setVersions(int index, Version.Builder builderForValue)
A list of versions. There will be a maximum number of items returned based
on the page_size field in the request. The list may in some cases be empty
or contain fewer entries than page_size even if this isn't the last page.
repeated .google.cloud.dialogflow.cx.v3beta1.Version versions = 1;
Parameters
Returns