Class ListEndpointsResponse.Builder (3.23.0)

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

Response message for EndpointService.ListEndpoints.

Protobuf type google.cloud.aiplatform.v1.ListEndpointsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.Endpoint endpoints = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1.Endpoint>
Returns
TypeDescription
ListEndpointsResponse.Builder

addEndpoints(Endpoint value)

public ListEndpointsResponse.Builder addEndpoints(Endpoint value)

List of Endpoints in the requested page.

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

Parameter
NameDescription
valueEndpoint
Returns
TypeDescription
ListEndpointsResponse.Builder

addEndpoints(Endpoint.Builder builderForValue)

public ListEndpointsResponse.Builder addEndpoints(Endpoint.Builder builderForValue)

List of Endpoints in the requested page.

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

Parameter
NameDescription
builderForValueEndpoint.Builder
Returns
TypeDescription
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.v1.Endpoint endpoints = 1;

Parameters
NameDescription
indexint
valueEndpoint
Returns
TypeDescription
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.v1.Endpoint endpoints = 1;

Parameters
NameDescription
indexint
builderForValueEndpoint.Builder
Returns
TypeDescription
ListEndpointsResponse.Builder

addEndpointsBuilder()

public Endpoint.Builder addEndpointsBuilder()

List of Endpoints in the requested page.

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

Returns
TypeDescription
Endpoint.Builder

addEndpointsBuilder(int index)

public Endpoint.Builder addEndpointsBuilder(int index)

List of Endpoints in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Endpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEndpointsResponse build()
Returns
TypeDescription
ListEndpointsResponse

buildPartial()

public ListEndpointsResponse buildPartial()
Returns
TypeDescription
ListEndpointsResponse

clear()

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

clearEndpoints()

public ListEndpointsResponse.Builder clearEndpoints()

List of Endpoints in the requested page.

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

Returns
TypeDescription
ListEndpointsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListEndpointsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListEndpointsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoints(int index)

public Endpoint getEndpoints(int index)

List of Endpoints in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Endpoint

getEndpointsBuilder(int index)

public Endpoint.Builder getEndpointsBuilder(int index)

List of Endpoints in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Endpoint.Builder

getEndpointsBuilderList()

public List<Endpoint.Builder> getEndpointsBuilderList()

List of Endpoints in the requested page.

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

Returns
TypeDescription
List<Builder>

getEndpointsCount()

public int getEndpointsCount()

List of Endpoints in the requested page.

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

Returns
TypeDescription
int

getEndpointsList()

public List<Endpoint> getEndpointsList()

List of Endpoints in the requested page.

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

Returns
TypeDescription
List<Endpoint>

getEndpointsOrBuilder(int index)

public EndpointOrBuilder getEndpointsOrBuilder(int index)

List of Endpoints in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
EndpointOrBuilder

getEndpointsOrBuilderList()

public List<? extends EndpointOrBuilder> getEndpointsOrBuilderList()

List of Endpoints in the requested page.

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

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.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
TypeDescription
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
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(ListEndpointsResponse other)

public ListEndpointsResponse.Builder mergeFrom(ListEndpointsResponse other)
Parameter
NameDescription
otherListEndpointsResponse
Returns
TypeDescription
ListEndpointsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListEndpointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListEndpointsResponse.Builder
Overrides

removeEndpoints(int index)

public ListEndpointsResponse.Builder removeEndpoints(int index)

List of Endpoints in the requested page.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Endpoint endpoints = 1;

Parameters
NameDescription
indexint
valueEndpoint
Returns
TypeDescription
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.v1.Endpoint endpoints = 1;

Parameters
NameDescription
indexint
builderForValueEndpoint.Builder
Returns
TypeDescription
ListEndpointsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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