Class ListEndpointsResponse.Builder (3.47.0)

public static final class ListEndpointsResponse.Builder extends GeneratedMessageV3.Builder<ListEndpointsResponse.Builder> implements ListEndpointsResponseOrBuilder

Response message for EndpointService.ListEndpoints.

Protobuf type google.cloud.aiplatform.v1beta1.ListEndpointsResponse

Static Methods

getDescriptor()

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

Methods

addAllEndpoints(Iterable<? extends Endpoint> values)

public ListEndpointsResponse.Builder addAllEndpoints(Iterable<? extends Endpoint> values)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.Endpoint>
Returns
Type Description
ListEndpointsResponse.Builder

addEndpoints(Endpoint value)

public ListEndpointsResponse.Builder addEndpoints(Endpoint value)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
value Endpoint
Returns
Type Description
ListEndpointsResponse.Builder

addEndpoints(Endpoint.Builder builderForValue)

public ListEndpointsResponse.Builder addEndpoints(Endpoint.Builder builderForValue)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
builderForValue Endpoint.Builder
Returns
Type Description
ListEndpointsResponse.Builder

addEndpoints(int index, Endpoint value)

public ListEndpointsResponse.Builder addEndpoints(int index, Endpoint value)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameters
Name Description
index int
value Endpoint
Returns
Type Description
ListEndpointsResponse.Builder

addEndpoints(int index, Endpoint.Builder builderForValue)

public ListEndpointsResponse.Builder addEndpoints(int index, Endpoint.Builder builderForValue)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameters
Name Description
index int
builderForValue Endpoint.Builder
Returns
Type Description
ListEndpointsResponse.Builder

addEndpointsBuilder()

public Endpoint.Builder addEndpointsBuilder()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
Endpoint.Builder

addEndpointsBuilder(int index)

public Endpoint.Builder addEndpointsBuilder(int index)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
Endpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEndpointsResponse build()
Returns
Type Description
ListEndpointsResponse

buildPartial()

public ListEndpointsResponse buildPartial()
Returns
Type Description
ListEndpointsResponse

clear()

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

clearEndpoints()

public ListEndpointsResponse.Builder clearEndpoints()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
ListEndpointsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListEndpointsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListEndpointsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
Type Description
ListEndpointsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEndpointsResponse getDefaultInstanceForType()
Returns
Type Description
ListEndpointsResponse

getDescriptorForType()

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

getEndpoints(int index)

public Endpoint getEndpoints(int index)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
Endpoint

getEndpointsBuilder(int index)

public Endpoint.Builder getEndpointsBuilder(int index)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
Endpoint.Builder

getEndpointsBuilderList()

public List<Endpoint.Builder> getEndpointsBuilderList()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
List<Builder>

getEndpointsCount()

public int getEndpointsCount()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
int

getEndpointsList()

public List<Endpoint> getEndpointsList()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
List<Endpoint>

getEndpointsOrBuilder(int index)

public EndpointOrBuilder getEndpointsOrBuilder(int index)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
EndpointOrBuilder

getEndpointsOrBuilderList()

public List<? extends EndpointOrBuilder> getEndpointsOrBuilderList()

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.EndpointOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListEndpointsRequest.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 the next page of results. Pass to ListEndpointsRequest.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(ListEndpointsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeEndpoints(int index)

public ListEndpointsResponse.Builder removeEndpoints(int index)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameter
Name Description
index int
Returns
Type Description
ListEndpointsResponse.Builder

setEndpoints(int index, Endpoint value)

public ListEndpointsResponse.Builder setEndpoints(int index, Endpoint value)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameters
Name Description
index int
value Endpoint
Returns
Type Description
ListEndpointsResponse.Builder

setEndpoints(int index, Endpoint.Builder builderForValue)

public ListEndpointsResponse.Builder setEndpoints(int index, Endpoint.Builder builderForValue)

List of Endpoints in the requested page.

repeated .google.cloud.aiplatform.v1beta1.Endpoint endpoints = 1;

Parameters
Name Description
index int
builderForValue Endpoint.Builder
Returns
Type Description
ListEndpointsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListEndpointsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListEndpointsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListEndpointsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListEndpointsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListEndpointsRequest.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
ListEndpointsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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