public static final class ListEndpointsResponse.Builder extends GeneratedMessageV3.Builder<ListEndpointsResponse.Builder> implements ListEndpointsResponseOrBuilder
The response message for RegistrationService.ListEndpoints.
Protobuf type google.cloud.servicedirectory.v1beta1.ListEndpointsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addAllEndpoints(Iterable<? extends Endpoint> values)
public ListEndpointsResponse.Builder addAllEndpoints(Iterable<? extends Endpoint> values)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.servicedirectory.v1beta1.Endpoint>
|
Returns
addEndpoints(Endpoint value)
public ListEndpointsResponse.Builder addEndpoints(Endpoint value)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
addEndpoints(Endpoint.Builder builderForValue)
public ListEndpointsResponse.Builder addEndpoints(Endpoint.Builder builderForValue)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
addEndpoints(int index, Endpoint value)
public ListEndpointsResponse.Builder addEndpoints(int index, Endpoint value)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameters
Returns
addEndpoints(int index, Endpoint.Builder builderForValue)
public ListEndpointsResponse.Builder addEndpoints(int index, Endpoint.Builder builderForValue)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameters
Returns
addEndpointsBuilder()
public Endpoint.Builder addEndpointsBuilder()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
addEndpointsBuilder(int index)
public Endpoint.Builder addEndpointsBuilder(int index)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListEndpointsResponse build()
Returns
buildPartial()
public ListEndpointsResponse buildPartial()
Returns
clear()
public ListEndpointsResponse.Builder clear()
Returns
Overrides
clearEndpoints()
public ListEndpointsResponse.Builder clearEndpoints()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListEndpointsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListEndpointsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListEndpointsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListEndpointsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEndpoints(int index)
public Endpoint getEndpoints(int index)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
getEndpointsBuilder(int index)
public Endpoint.Builder getEndpointsBuilder(int index)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
getEndpointsBuilderList()
public List<Endpoint.Builder> getEndpointsBuilderList()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
getEndpointsCount()
public int getEndpointsCount()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
getEndpointsList()
public List<Endpoint> getEndpointsList()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
getEndpointsOrBuilder(int index)
public EndpointOrBuilder getEndpointsOrBuilder(int index)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
getEndpointsOrBuilderList()
public List<? extends EndpointOrBuilder> getEndpointsOrBuilderList()
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Returns
Type | Description |
List<? extends com.google.cloud.servicedirectory.v1beta1.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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListEndpointsResponse other)
public ListEndpointsResponse.Builder mergeFrom(ListEndpointsResponse other)
Parameter
Returns
public ListEndpointsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListEndpointsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEndpoints(int index)
public ListEndpointsResponse.Builder removeEndpoints(int index)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameter
Returns
setEndpoints(int index, Endpoint value)
public ListEndpointsResponse.Builder setEndpoints(int index, Endpoint value)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameters
Returns
setEndpoints(int index, Endpoint.Builder builderForValue)
public ListEndpointsResponse.Builder setEndpoints(int index, Endpoint.Builder builderForValue)
The list of endpoints.
repeated .google.cloud.servicedirectory.v1beta1.Endpoint endpoints = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListEndpointsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListEndpointsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListEndpointsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides