Class QueryDirectoryContentsResponse.Builder (0.3.0)

public static final class QueryDirectoryContentsResponse.Builder extends GeneratedMessageV3.Builder<QueryDirectoryContentsResponse.Builder> implements QueryDirectoryContentsResponseOrBuilder

QueryDirectoryContents response message.

Protobuf type google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse

Static Methods

getDescriptor()

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

Methods

addAllDirectoryEntries(Iterable<? extends QueryDirectoryContentsResponse.DirectoryEntry> values)

public QueryDirectoryContentsResponse.Builder addAllDirectoryEntries(Iterable<? extends QueryDirectoryContentsResponse.DirectoryEntry> values)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry>
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry value)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry value)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
value QueryDirectoryContentsResponse.DirectoryEntry
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
builderForValue QueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry value)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry value)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
Name Description
index int
value QueryDirectoryContentsResponse.DirectoryEntry
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
Name Description
index int
builderForValue QueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntriesBuilder()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

addDirectoryEntriesBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder(int index)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDirectoryContentsResponse build()
Returns
Type Description
QueryDirectoryContentsResponse

buildPartial()

public QueryDirectoryContentsResponse buildPartial()
Returns
Type Description
QueryDirectoryContentsResponse

clear()

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

clearDirectoryEntries()

public QueryDirectoryContentsResponse.Builder clearDirectoryEntries()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
QueryDirectoryContentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public QueryDirectoryContentsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
QueryDirectoryContentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QueryDirectoryContentsResponse getDefaultInstanceForType()
Returns
Type Description
QueryDirectoryContentsResponse

getDescriptorForType()

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

getDirectoryEntries(int index)

public QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry

getDirectoryEntriesBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder(int index)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

getDirectoryEntriesBuilderList()

public List<QueryDirectoryContentsResponse.DirectoryEntry.Builder> getDirectoryEntriesBuilderList()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
List<Builder>

getDirectoryEntriesCount()

public int getDirectoryEntriesCount()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
int

getDirectoryEntriesList()

public List<QueryDirectoryContentsResponse.DirectoryEntry> getDirectoryEntriesList()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
List<DirectoryEntry>

getDirectoryEntriesOrBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder(int index)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntryOrBuilder

getDirectoryEntriesOrBuilderList()

public List<? extends QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> getDirectoryEntriesOrBuilderList()

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryDirectoryContentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDirectoryEntries(int index)

public QueryDirectoryContentsResponse.Builder removeDirectoryEntries(int index)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.Builder

setDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry value)

public QueryDirectoryContentsResponse.Builder setDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry value)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
Name Description
index int
value QueryDirectoryContentsResponse.DirectoryEntry
Returns
Type Description
QueryDirectoryContentsResponse.Builder

setDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

public QueryDirectoryContentsResponse.Builder setDirectoryEntries(int index, QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue)

List of entries in the directory.

repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
Name Description
index int
builderForValue QueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
Type Description
QueryDirectoryContentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public QueryDirectoryContentsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
QueryDirectoryContentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public QueryDirectoryContentsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
QueryDirectoryContentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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