public static final class ListNamespacesResponse.Builder extends GeneratedMessageV3.Builder<ListNamespacesResponse.Builder> implements ListNamespacesResponseOrBuilder
The response message for
RegistrationService.ListNamespaces.
Protobuf type google.cloud.servicedirectory.v1beta1.ListNamespacesResponse
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()
Methods
addAllNamespaces(Iterable<? extends Namespace> values)
public ListNamespacesResponse.Builder addAllNamespaces(Iterable<? extends Namespace> values)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.servicedirectory.v1beta1.Namespace>
|
addNamespaces(Namespace value)
public ListNamespacesResponse.Builder addNamespaces(Namespace value)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
addNamespaces(Namespace.Builder builderForValue)
public ListNamespacesResponse.Builder addNamespaces(Namespace.Builder builderForValue)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
addNamespaces(int index, Namespace value)
public ListNamespacesResponse.Builder addNamespaces(int index, Namespace value)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
addNamespaces(int index, Namespace.Builder builderForValue)
public ListNamespacesResponse.Builder addNamespaces(int index, Namespace.Builder builderForValue)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
addNamespacesBuilder()
public Namespace.Builder addNamespacesBuilder()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
addNamespacesBuilder(int index)
public Namespace.Builder addNamespacesBuilder(int index)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNamespacesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListNamespacesResponse build()
buildPartial()
public ListNamespacesResponse buildPartial()
clear()
public ListNamespacesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListNamespacesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNamespaces()
public ListNamespacesResponse.Builder clearNamespaces()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
clearNextPageToken()
public ListNamespacesResponse.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 ListNamespacesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListNamespacesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListNamespacesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNamespaces(int index)
public Namespace getNamespaces(int index)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
index | int
|
getNamespacesBuilder(int index)
public Namespace.Builder getNamespacesBuilder(int index)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
index | int
|
getNamespacesBuilderList()
public List<Namespace.Builder> getNamespacesBuilderList()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
getNamespacesCount()
public int getNamespacesCount()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Returns |
---|
Type | Description |
int | |
getNamespacesList()
public List<Namespace> getNamespacesList()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
getNamespacesOrBuilder(int index)
public NamespaceOrBuilder getNamespacesOrBuilder(int index)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
index | int
|
getNamespacesOrBuilderList()
public List<? extends NamespaceOrBuilder> getNamespacesOrBuilderList()
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.servicedirectory.v1beta1.NamespaceOrBuilder> | |
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(ListNamespacesResponse other)
public ListNamespacesResponse.Builder mergeFrom(ListNamespacesResponse other)
public ListNamespacesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListNamespacesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNamespacesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeNamespaces(int index)
public ListNamespacesResponse.Builder removeNamespaces(int index)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListNamespacesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNamespaces(int index, Namespace value)
public ListNamespacesResponse.Builder setNamespaces(int index, Namespace value)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
setNamespaces(int index, Namespace.Builder builderForValue)
public ListNamespacesResponse.Builder setNamespaces(int index, Namespace.Builder builderForValue)
The list of namespaces.
repeated .google.cloud.servicedirectory.v1beta1.Namespace namespaces = 1;
setNextPageToken(String value)
public ListNamespacesResponse.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 ListNamespacesResponse.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 ListNamespacesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNamespacesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides