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