public static final class ListIndexEndpointsResponse.Builder extends GeneratedMessageV3.Builder<ListIndexEndpointsResponse.Builder> implements ListIndexEndpointsResponseOrBuilder
Response message for IndexEndpointService.ListIndexEndpoints.
Protobuf type google.cloud.aiplatform.v1beta1.ListIndexEndpointsResponse
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ListIndexEndpointsResponse.Builder addAllIndexEndpoints(Iterable<? extends IndexEndpoint> values)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1beta1.IndexEndpoint>
|
Returns
public ListIndexEndpointsResponse.Builder addIndexEndpoints(IndexEndpoint value)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public ListIndexEndpointsResponse.Builder addIndexEndpoints(IndexEndpoint.Builder builderForValue)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public ListIndexEndpointsResponse.Builder addIndexEndpoints(int index, IndexEndpoint value)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameters
Returns
public ListIndexEndpointsResponse.Builder addIndexEndpoints(int index, IndexEndpoint.Builder builderForValue)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameters
Returns
public IndexEndpoint.Builder addIndexEndpointsBuilder()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
public IndexEndpoint.Builder addIndexEndpointsBuilder(int index)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public ListIndexEndpointsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListIndexEndpointsResponse build()
Returns
public ListIndexEndpointsResponse buildPartial()
Returns
public ListIndexEndpointsResponse.Builder clear()
Returns
Overrides
public ListIndexEndpointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListIndexEndpointsResponse.Builder clearIndexEndpoints()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
clearNextPageToken()
public ListIndexEndpointsResponse.Builder clearNextPageToken()
A token to retrieve next page of results.
Pass to ListIndexEndpointsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
public ListIndexEndpointsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListIndexEndpointsResponse.Builder clone()
Returns
Overrides
public ListIndexEndpointsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public IndexEndpoint getIndexEndpoints(int index)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public IndexEndpoint.Builder getIndexEndpointsBuilder(int index)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public List<IndexEndpoint.Builder> getIndexEndpointsBuilderList()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
public int getIndexEndpointsCount()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
public List<IndexEndpoint> getIndexEndpointsList()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
public IndexEndpointOrBuilder getIndexEndpointsOrBuilder(int index)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public List<? extends IndexEndpointOrBuilder> getIndexEndpointsOrBuilderList()
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Returns
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.IndexEndpointOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
A token to retrieve next page of results.
Pass to ListIndexEndpointsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A token to retrieve next page of results.
Pass to ListIndexEndpointsRequest.page_token to obtain that page.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListIndexEndpointsResponse.Builder mergeFrom(ListIndexEndpointsResponse other)
Parameter
Returns
public ListIndexEndpointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListIndexEndpointsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListIndexEndpointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListIndexEndpointsResponse.Builder removeIndexEndpoints(int index)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameter
Returns
public ListIndexEndpointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListIndexEndpointsResponse.Builder setIndexEndpoints(int index, IndexEndpoint value)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameters
Returns
public ListIndexEndpointsResponse.Builder setIndexEndpoints(int index, IndexEndpoint.Builder builderForValue)
List of IndexEndpoints in the requested page.
repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;
Parameters
Returns
setNextPageToken(String value)
public ListIndexEndpointsResponse.Builder setNextPageToken(String value)
A token to retrieve next page of results.
Pass to ListIndexEndpointsRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListIndexEndpointsResponse.Builder setNextPageTokenBytes(ByteString value)
A token to retrieve next page of results.
Pass to ListIndexEndpointsRequest.page_token to obtain that page.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
public ListIndexEndpointsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListIndexEndpointsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides