Class ListIndexEndpointsResponse.Builder (3.42.0)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllIndexEndpoints(Iterable<? extends IndexEndpoint> values)

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
Type Description
ListIndexEndpointsResponse.Builder

addIndexEndpoints(IndexEndpoint value)

public ListIndexEndpointsResponse.Builder addIndexEndpoints(IndexEndpoint value)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
value IndexEndpoint
Returns
Type Description
ListIndexEndpointsResponse.Builder

addIndexEndpoints(IndexEndpoint.Builder builderForValue)

public ListIndexEndpointsResponse.Builder addIndexEndpoints(IndexEndpoint.Builder builderForValue)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
builderForValue IndexEndpoint.Builder
Returns
Type Description
ListIndexEndpointsResponse.Builder

addIndexEndpoints(int index, IndexEndpoint value)

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
Name Description
index int
value IndexEndpoint
Returns
Type Description
ListIndexEndpointsResponse.Builder

addIndexEndpoints(int index, IndexEndpoint.Builder builderForValue)

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
Name Description
index int
builderForValue IndexEndpoint.Builder
Returns
Type Description
ListIndexEndpointsResponse.Builder

addIndexEndpointsBuilder()

public IndexEndpoint.Builder addIndexEndpointsBuilder()

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Returns
Type Description
IndexEndpoint.Builder

addIndexEndpointsBuilder(int index)

public IndexEndpoint.Builder addIndexEndpointsBuilder(int index)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListIndexEndpointsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

build()

public ListIndexEndpointsResponse build()
Returns
Type Description
ListIndexEndpointsResponse

buildPartial()

public ListIndexEndpointsResponse buildPartial()
Returns
Type Description
ListIndexEndpointsResponse

clear()

public ListIndexEndpointsResponse.Builder clear()
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListIndexEndpointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

clearIndexEndpoints()

public ListIndexEndpointsResponse.Builder clearIndexEndpoints()

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Returns
Type Description
ListIndexEndpointsResponse.Builder

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
Type Description
ListIndexEndpointsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListIndexEndpointsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

clone()

public ListIndexEndpointsResponse.Builder clone()
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListIndexEndpointsResponse getDefaultInstanceForType()
Returns
Type Description
ListIndexEndpointsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIndexEndpoints(int index)

public IndexEndpoint getIndexEndpoints(int index)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexEndpoint

getIndexEndpointsBuilder(int index)

public IndexEndpoint.Builder getIndexEndpointsBuilder(int index)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexEndpoint.Builder

getIndexEndpointsBuilderList()

public List<IndexEndpoint.Builder> getIndexEndpointsBuilderList()

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Returns
Type Description
List<Builder>

getIndexEndpointsCount()

public int getIndexEndpointsCount()

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Returns
Type Description
int

getIndexEndpointsList()

public List<IndexEndpoint> getIndexEndpointsList()

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Returns
Type Description
List<IndexEndpoint>

getIndexEndpointsOrBuilder(int index)

public IndexEndpointOrBuilder getIndexEndpointsOrBuilder(int index)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
IndexEndpointOrBuilder

getIndexEndpointsOrBuilderList()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListIndexEndpointsResponse other)

public ListIndexEndpointsResponse.Builder mergeFrom(ListIndexEndpointsResponse other)
Parameter
Name Description
other ListIndexEndpointsResponse
Returns
Type Description
ListIndexEndpointsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListIndexEndpointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListIndexEndpointsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListIndexEndpointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

removeIndexEndpoints(int index)

public ListIndexEndpointsResponse.Builder removeIndexEndpoints(int index)

List of IndexEndpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.IndexEndpoint index_endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
ListIndexEndpointsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListIndexEndpointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

setIndexEndpoints(int index, IndexEndpoint value)

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
Name Description
index int
value IndexEndpoint
Returns
Type Description
ListIndexEndpointsResponse.Builder

setIndexEndpoints(int index, IndexEndpoint.Builder builderForValue)

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
Name Description
index int
builderForValue IndexEndpoint.Builder
Returns
Type Description
ListIndexEndpointsResponse.Builder

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
Type Description
ListIndexEndpointsResponse.Builder

This builder for chaining.

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
Type Description
ListIndexEndpointsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListIndexEndpointsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListIndexEndpointsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListIndexEndpointsResponse.Builder
Overrides