Class QueryRepositoryDirectoryContentsRequest.Builder (0.44.0)

public static final class QueryRepositoryDirectoryContentsRequest.Builder extends GeneratedMessageV3.Builder<QueryRepositoryDirectoryContentsRequest.Builder> implements QueryRepositoryDirectoryContentsRequestOrBuilder

QueryRepositoryDirectoryContents request message.

Protobuf type google.cloud.dataform.v1beta1.QueryRepositoryDirectoryContentsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryRepositoryDirectoryContentsRequest build()
Returns
Type Description
QueryRepositoryDirectoryContentsRequest

buildPartial()

public QueryRepositoryDirectoryContentsRequest buildPartial()
Returns
Type Description
QueryRepositoryDirectoryContentsRequest

clear()

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

clearCommitSha()

public QueryRepositoryDirectoryContentsRequest.Builder clearCommitSha()

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public QueryRepositoryDirectoryContentsRequest.Builder clearName()

Required. The repository's name.

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

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public QueryRepositoryDirectoryContentsRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

clearPageToken()

public QueryRepositoryDirectoryContentsRequest.Builder clearPageToken()

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

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

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

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

clearPath()

public QueryRepositoryDirectoryContentsRequest.Builder clearPath()

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

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

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

clone()

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

getCommitSha()

public String getCommitSha()

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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

Returns
Type Description
String

The commitSha.

getCommitShaBytes()

public ByteString getCommitShaBytes()

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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

Returns
Type Description
ByteString

The bytes for commitSha.

getDefaultInstanceForType()

public QueryRepositoryDirectoryContentsRequest getDefaultInstanceForType()
Returns
Type Description
QueryRepositoryDirectoryContentsRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The repository's name.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The repository's name.

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

Returns
Type Description
ByteString

The bytes for name.

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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

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

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

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

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

string page_token = 5 [(.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 root. If left unset, the root is used.

string path = 3 [(.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 root. If left unset, the root is used.

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

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryRepositoryDirectoryContentsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCommitSha(String value)

public QueryRepositoryDirectoryContentsRequest.Builder setCommitSha(String value)

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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

Parameter
Name Description
value String

The commitSha to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setCommitShaBytes(ByteString value)

public QueryRepositoryDirectoryContentsRequest.Builder setCommitShaBytes(ByteString value)

Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD.

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

Parameter
Name Description
value ByteString

The bytes for commitSha to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public QueryRepositoryDirectoryContentsRequest.Builder setName(String value)

Required. The repository's name.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public QueryRepositoryDirectoryContentsRequest.Builder setNameBytes(ByteString value)

Required. The repository's name.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setPageSize(int value)

public QueryRepositoryDirectoryContentsRequest.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 = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setPageToken(String value)

public QueryRepositoryDirectoryContentsRequest.Builder setPageToken(String value)

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

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

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public QueryRepositoryDirectoryContentsRequest.Builder setPageTokenBytes(ByteString value)

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

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

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setPath(String value)

public QueryRepositoryDirectoryContentsRequest.Builder setPath(String value)

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

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

Parameter
Name Description
value String

The path to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

setPathBytes(ByteString value)

public QueryRepositoryDirectoryContentsRequest.Builder setPathBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
QueryRepositoryDirectoryContentsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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