Class ListNamespacesRequest.Builder (1.48.0)

public static final class ListNamespacesRequest.Builder extends GeneratedMessageV3.Builder<ListNamespacesRequest.Builder> implements ListNamespacesRequestOrBuilder

List namespaces request.

Protobuf type google.cloud.datafusion.v1beta1.ListNamespacesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNamespacesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

build()

public ListNamespacesRequest build()
Returns
Type Description
ListNamespacesRequest

buildPartial()

public ListNamespacesRequest buildPartial()
Returns
Type Description
ListNamespacesRequest

clear()

public ListNamespacesRequest.Builder clear()
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNamespacesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNamespacesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

clearPageSize()

public ListNamespacesRequest.Builder clearPageSize()

The maximum number of items to return.

int32 page_size = 2;

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

clearPageToken()

public ListNamespacesRequest.Builder clearPageToken()

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

clearParent()

public ListNamespacesRequest.Builder clearParent()

Required. The instance to list its namespaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

clearView()

public ListNamespacesRequest.Builder clearView()

By default, only basic information about a namespace is returned (e.g. name). When NAMESPACE_VIEW_FULL is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)

.google.cloud.datafusion.v1beta1.NamespaceView view = 4;

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

clone()

public ListNamespacesRequest.Builder clone()
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListNamespacesRequest getDefaultInstanceForType()
Returns
Type Description
ListNamespacesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of items to return.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The instance to list its namespaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The instance to list its namespaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getView()

public NamespaceView getView()

By default, only basic information about a namespace is returned (e.g. name). When NAMESPACE_VIEW_FULL is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)

.google.cloud.datafusion.v1beta1.NamespaceView view = 4;

Returns
Type Description
NamespaceView

The view.

getViewValue()

public int getViewValue()

By default, only basic information about a namespace is returned (e.g. name). When NAMESPACE_VIEW_FULL is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)

.google.cloud.datafusion.v1beta1.NamespaceView view = 4;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNamespacesRequest other)

public ListNamespacesRequest.Builder mergeFrom(ListNamespacesRequest other)
Parameter
Name Description
other ListNamespacesRequest
Returns
Type Description
ListNamespacesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNamespacesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNamespacesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNamespacesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNamespacesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListNamespacesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

setPageSize(int value)

public ListNamespacesRequest.Builder setPageSize(int value)

The maximum number of items to return.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListNamespacesRequest.Builder setPageToken(String value)

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListNamespacesRequest.Builder setPageTokenBytes(ByteString value)

The next_page_token value to use if there are additional results to retrieve for this list request.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setParent(String value)

public ListNamespacesRequest.Builder setParent(String value)

Required. The instance to list its namespaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListNamespacesRequest.Builder setParentBytes(ByteString value)

Required. The instance to list its namespaces.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListNamespacesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNamespacesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNamespacesRequest.Builder
Overrides

setView(NamespaceView value)

public ListNamespacesRequest.Builder setView(NamespaceView value)

By default, only basic information about a namespace is returned (e.g. name). When NAMESPACE_VIEW_FULL is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)

.google.cloud.datafusion.v1beta1.NamespaceView view = 4;

Parameter
Name Description
value NamespaceView

The view to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListNamespacesRequest.Builder setViewValue(int value)

By default, only basic information about a namespace is returned (e.g. name). When NAMESPACE_VIEW_FULL is specified, additional information associated with a namespace gets returned (e.g. IAM policy set on the namespace)

.google.cloud.datafusion.v1beta1.NamespaceView view = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListNamespacesRequest.Builder

This builder for chaining.