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;
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