Class QueryDirectoryContentsResponse.Builder (0.47.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 DirectoryEntry> values)

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

List of entries in the directory.

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

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

addDirectoryEntries(DirectoryEntry value)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(DirectoryEntry value)

List of entries in the directory.

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

Parameter
Name Description
value DirectoryEntry
Returns
Type Description
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(DirectoryEntry.Builder builderForValue)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(DirectoryEntry.Builder builderForValue)

List of entries in the directory.

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

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

addDirectoryEntries(int index, DirectoryEntry value)

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

List of entries in the directory.

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

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

addDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)

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

List of entries in the directory.

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

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

addDirectoryEntriesBuilder()

public DirectoryEntry.Builder addDirectoryEntriesBuilder()

List of entries in the directory.

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

Returns
Type Description
DirectoryEntry.Builder

addDirectoryEntriesBuilder(int index)

public DirectoryEntry.Builder addDirectoryEntriesBuilder(int index)

List of entries in the directory.

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

Parameter
Name Description
index int
Returns
Type Description
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.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 DirectoryEntry getDirectoryEntries(int index)

List of entries in the directory.

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

Parameter
Name Description
index int
Returns
Type Description
DirectoryEntry

getDirectoryEntriesBuilder(int index)

public DirectoryEntry.Builder getDirectoryEntriesBuilder(int index)

List of entries in the directory.

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

Parameter
Name Description
index int
Returns
Type Description
DirectoryEntry.Builder

getDirectoryEntriesBuilderList()

public List<DirectoryEntry.Builder> getDirectoryEntriesBuilderList()

List of entries in the directory.

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

Returns
Type Description
List<Builder>

getDirectoryEntriesCount()

public int getDirectoryEntriesCount()

List of entries in the directory.

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

Returns
Type Description
int

getDirectoryEntriesList()

public List<DirectoryEntry> getDirectoryEntriesList()

List of entries in the directory.

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

Returns
Type Description
List<DirectoryEntry>

getDirectoryEntriesOrBuilder(int index)

public DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder(int index)

List of entries in the directory.

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

Parameter
Name Description
index int
Returns
Type Description
DirectoryEntryOrBuilder

getDirectoryEntriesOrBuilderList()

public List<? extends DirectoryEntryOrBuilder> getDirectoryEntriesOrBuilderList()

List of entries in the directory.

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

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.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.DirectoryEntry directory_entries = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryDirectoryContentsResponse.Builder

setDirectoryEntries(int index, DirectoryEntry value)

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

List of entries in the directory.

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

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

setDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)

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

List of entries in the directory.

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

Parameters
Name Description
index int
builderForValue 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