Class QueryDirectoryContentsRequest.Builder (0.33.0)

public static final class QueryDirectoryContentsRequest.Builder extends GeneratedMessageV3.Builder<QueryDirectoryContentsRequest.Builder> implements QueryDirectoryContentsRequestOrBuilder

QueryDirectoryContents request message.

Protobuf type google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDirectoryContentsRequest build()
Returns
Type Description
QueryDirectoryContentsRequest

buildPartial()

public QueryDirectoryContentsRequest buildPartial()
Returns
Type Description
QueryDirectoryContentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public QueryDirectoryContentsRequest.Builder clearPageSize()

Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryDirectoryContentsRequest.Builder clearPageToken()

Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDirectoryContents must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearPath()

public QueryDirectoryContentsRequest.Builder clearPath()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clearWorkspace()

public QueryDirectoryContentsRequest.Builder clearWorkspace()

Required. The workspace's name.

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

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public QueryDirectoryContentsRequest getDefaultInstanceForType()
Returns
Type Description
QueryDirectoryContentsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDirectoryContents must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDirectoryContents must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getPath()

public String getPath()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.

getWorkspace()

public String getWorkspace()

Required. The workspace's name.

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

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public ByteString getWorkspaceBytes()

Required. The workspace's name.

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

Returns
Type Description
ByteString

The bytes for workspace.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryDirectoryContentsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public QueryDirectoryContentsRequest.Builder setPageSize(int value)

Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryDirectoryContentsRequest.Builder setPageToken(String value)

Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDirectoryContents must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page token received from a previous QueryDirectoryContents call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to QueryDirectoryContents must match the call that provided the page token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPath(String value)

public QueryDirectoryContentsRequest.Builder setPath(String value)

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setPathBytes(ByteString value)

Optional. The directory's full path including directory name, relative to the workspace root. If left unset, the workspace root is used.

string path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWorkspace(String value)

public QueryDirectoryContentsRequest.Builder setWorkspace(String value)

Required. The workspace's name.

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

Parameter
Name Description
value String

The workspace to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.

setWorkspaceBytes(ByteString value)

public QueryDirectoryContentsRequest.Builder setWorkspaceBytes(ByteString value)

Required. The workspace's name.

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

Parameter
Name Description
value ByteString

The bytes for workspace to set.

Returns
Type Description
QueryDirectoryContentsRequest.Builder

This builder for chaining.