Send feedback
Class ListEndpointsResponse.Builder (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public static final class ListEndpointsResponse . Builder extends GeneratedMessageV3 . Builder<ListEndpointsResponse . Builder > implements ListEndpointsResponseOrBuilder
The response message for
RegistrationService.ListEndpoints .
Protobuf type google.cloud.servicedirectory.v1.ListEndpointsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllEndpoints(Iterable<? extends Endpoint> values)
public ListEndpointsResponse . Builder addAllEndpoints ( Iterable <? extends Endpoint > values )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.servicedirectory.v1.Endpoint >
addEndpoints(Endpoint value)
public ListEndpointsResponse . Builder addEndpoints ( Endpoint value )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
value
Endpoint
addEndpoints(Endpoint.Builder builderForValue)
public ListEndpointsResponse . Builder addEndpoints ( Endpoint . Builder builderForValue )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
addEndpoints(int index, Endpoint value)
public ListEndpointsResponse . Builder addEndpoints ( int index , Endpoint value )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
addEndpoints(int index, Endpoint.Builder builderForValue)
public ListEndpointsResponse . Builder addEndpoints ( int index , Endpoint . Builder builderForValue )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
addEndpointsBuilder()
public Endpoint . Builder addEndpointsBuilder ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
addEndpointsBuilder(int index)
public Endpoint . Builder addEndpointsBuilder ( int index )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
index
int
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ListEndpointsResponse build ()
buildPartial()
public ListEndpointsResponse buildPartial ()
clear()
public ListEndpointsResponse . Builder clear ()
Overrides
clearEndpoints()
public ListEndpointsResponse . Builder clearEndpoints ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
clearField(Descriptors.FieldDescriptor field)
public ListEndpointsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearNextPageToken()
public ListEndpointsResponse . Builder clearNextPageToken ()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEndpointsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public ListEndpointsResponse . Builder clone ()
Overrides
getDefaultInstanceForType()
public ListEndpointsResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEndpoints(int index)
public Endpoint getEndpoints ( int index )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
index
int
getEndpointsBuilder(int index)
public Endpoint . Builder getEndpointsBuilder ( int index )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
index
int
getEndpointsBuilderList()
public List<Endpoint . Builder > getEndpointsBuilderList ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
getEndpointsCount()
public int getEndpointsCount ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Returns
Type
Description
int
getEndpointsList()
public List<Endpoint> getEndpointsList ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
getEndpointsOrBuilder(int index)
public EndpointOrBuilder getEndpointsOrBuilder ( int index )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
index
int
getEndpointsOrBuilderList()
public List <? extends EndpointOrBuilder > getEndpointsOrBuilderList ()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Returns
Type
Description
List <? extends com.google.cloud.servicedirectory.v1.EndpointOrBuilder >
getNextPageToken()
public String getNextPageToken ()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type
Description
String
The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type
Description
ByteString
The bytes for nextPageToken.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ListEndpointsResponse other)
public ListEndpointsResponse . Builder mergeFrom ( ListEndpointsResponse other )
public ListEndpointsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ListEndpointsResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeEndpoints(int index)
public ListEndpointsResponse . Builder removeEndpoints ( int index )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
Parameter
Name
Description
index
int
setEndpoints(int index, Endpoint value)
public ListEndpointsResponse . Builder setEndpoints ( int index , Endpoint value )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
setEndpoints(int index, Endpoint.Builder builderForValue)
public ListEndpointsResponse . Builder setEndpoints ( int index , Endpoint . Builder builderForValue )
The list of endpoints.
repeated .google.cloud.servicedirectory.v1.Endpoint endpoints = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setNextPageToken(String value)
public ListEndpointsResponse . Builder setNextPageToken ( String value )
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name
Description
value
String
The nextPageToken to set.
setNextPageTokenBytes(ByteString value)
public ListEndpointsResponse . Builder setNextPageTokenBytes ( ByteString value )
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name
Description
value
ByteString
The bytes for nextPageToken to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEndpointsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]