public static final class ListDeploymentsResponse.Builder extends GeneratedMessageV3.Builder<ListDeploymentsResponse.Builder> implements ListDeploymentsResponseOrBuilder
The response message for Deployments.ListDeployments.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDeployments(Iterable<? extends Deployment> values)
public ListDeploymentsResponse.Builder addAllDeployments(Iterable<? extends Deployment> values)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.Deployment>
|
Returns
addDeployments(Deployment value)
public ListDeploymentsResponse.Builder addDeployments(Deployment value)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Returns
addDeployments(Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(Deployment.Builder builderForValue)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Returns
addDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment value)
The list of deployments. 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.Deployment deployments = 1;
Parameters
Returns
addDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment.Builder builderForValue)
The list of deployments. 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.Deployment deployments = 1;
Parameters
Returns
addDeploymentsBuilder()
public Deployment.Builder addDeploymentsBuilder()
The list of deployments. 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.Deployment deployments = 1;
Returns
addDeploymentsBuilder(int index)
public Deployment.Builder addDeploymentsBuilder(int index)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDeploymentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDeploymentsResponse build()
Returns
buildPartial()
public ListDeploymentsResponse buildPartial()
Returns
clear()
public ListDeploymentsResponse.Builder clear()
Returns
Overrides
clearDeployments()
public ListDeploymentsResponse.Builder clearDeployments()
The list of deployments. 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.Deployment deployments = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDeploymentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDeploymentsResponse.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 ListDeploymentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDeploymentsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDeploymentsResponse getDefaultInstanceForType()
Returns
getDeployments(int index)
public Deployment getDeployments(int index)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getDeploymentsBuilder(int index)
public Deployment.Builder getDeploymentsBuilder(int index)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getDeploymentsBuilderList()
public List<Deployment.Builder> getDeploymentsBuilderList()
The list of deployments. 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.Deployment deployments = 1;
Returns
getDeploymentsCount()
public int getDeploymentsCount()
The list of deployments. 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.Deployment deployments = 1;
Returns
getDeploymentsList()
public List<Deployment> getDeploymentsList()
The list of deployments. 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.Deployment deployments = 1;
Returns
getDeploymentsOrBuilder(int index)
public DeploymentOrBuilder getDeploymentsOrBuilder(int index)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
getDeploymentsOrBuilderList()
public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()
The list of deployments. 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.Deployment deployments = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.DeploymentOrBuilder> |
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDeploymentsResponse other)
public ListDeploymentsResponse.Builder mergeFrom(ListDeploymentsResponse other)
Parameter
Returns
public ListDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDeploymentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDeploymentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDeployments(int index)
public ListDeploymentsResponse.Builder removeDeployments(int index)
The list of deployments. 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.Deployment deployments = 1;
Parameter
Name |
Description |
index |
int
|
Returns
setDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment value)
The list of deployments. 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.Deployment deployments = 1;
Parameters
Returns
setDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment.Builder builderForValue)
The list of deployments. 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.Deployment deployments = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDeploymentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDeploymentsResponse.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 ListDeploymentsResponse.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 ListDeploymentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDeploymentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides