Class ListIndexEndpointsResponse.Builder (3.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.IndexEndpoint>
Returns
TypeDescription
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
NameDescription
valueIndexEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueIndexEndpoint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueIndexEndpoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIndexEndpoint.Builder
Returns
TypeDescription
ListIndexEndpointsResponse.Builder

addIndexEndpointsBuilder()

public IndexEndpoint.Builder addIndexEndpointsBuilder()

List of IndexEndpoints in the requested page.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
IndexEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListIndexEndpointsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

build()

public ListIndexEndpointsResponse build()
Returns
TypeDescription
ListIndexEndpointsResponse

buildPartial()

public ListIndexEndpointsResponse buildPartial()
Returns
TypeDescription
ListIndexEndpointsResponse

clear()

public ListIndexEndpointsResponse.Builder clear()
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListIndexEndpointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListIndexEndpointsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListIndexEndpointsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

clone()

public ListIndexEndpointsResponse.Builder clone()
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListIndexEndpointsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListIndexEndpointsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getIndexEndpointsCount()

public int getIndexEndpointsCount()

List of IndexEndpoints in the requested page.

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

Returns
TypeDescription
int

getIndexEndpointsList()

public List<IndexEndpoint> getIndexEndpointsList()

List of IndexEndpoints in the requested page.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
IndexEndpointOrBuilder

getIndexEndpointsOrBuilderList()

public List<? extends IndexEndpointOrBuilder> getIndexEndpointsOrBuilderList()

List of IndexEndpoints in the requested page.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListIndexEndpointsResponse other)

public ListIndexEndpointsResponse.Builder mergeFrom(ListIndexEndpointsResponse other)
Parameter
NameDescription
otherListIndexEndpointsResponse
Returns
TypeDescription
ListIndexEndpointsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListIndexEndpointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListIndexEndpointsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListIndexEndpointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListIndexEndpointsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListIndexEndpointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueIndexEndpoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueIndexEndpoint.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListIndexEndpointsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListIndexEndpointsResponse.Builder
Overrides