Class ListNamespacesRequest.Builder (1.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNamespacesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

build()

public ListNamespacesRequest build()
Returns
TypeDescription
ListNamespacesRequest

buildPartial()

public ListNamespacesRequest buildPartial()
Returns
TypeDescription
ListNamespacesRequest

clear()

public ListNamespacesRequest.Builder clear()
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNamespacesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNamespacesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

clearPageSize()

public ListNamespacesRequest.Builder clearPageSize()

The maximum number of items to return.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListNamespacesRequest.Builder

This builder for chaining.

clone()

public ListNamespacesRequest.Builder clone()
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

getDefaultInstanceForType()

public ListNamespacesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNamespacesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of items to return.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNamespacesRequest other)

public ListNamespacesRequest.Builder mergeFrom(ListNamespacesRequest other)
Parameter
NameDescription
otherListNamespacesRequest
Returns
TypeDescription
ListNamespacesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNamespacesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNamespacesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNamespacesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListNamespacesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

setPageSize(int value)

public ListNamespacesRequest.Builder setPageSize(int value)

The maximum number of items to return.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNamespacesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNamespacesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueNamespaceView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ListNamespacesRequest.Builder

This builder for chaining.