Class QueryDirectoryContentsResponse.Builder (0.2.1)

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

QueryDirectoryContents response message.

Protobuf type google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry>
Returns
TypeDescription
QueryDirectoryContentsResponse.Builder

addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry value)

public QueryDirectoryContentsResponse.Builder addDirectoryEntries(QueryDirectoryContentsResponse.DirectoryEntry value)

List of entries in the directory.

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

Parameter
NameDescription
valueQueryDirectoryContentsResponse.DirectoryEntry
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameter
NameDescription
builderForValueQueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
NameDescription
indexint
valueQueryDirectoryContentsResponse.DirectoryEntry
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
NameDescription
indexint
builderForValueQueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
TypeDescription
QueryDirectoryContentsResponse.Builder

addDirectoryEntriesBuilder()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder()

List of entries in the directory.

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

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

addDirectoryEntriesBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder(int index)

List of entries in the directory.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDirectoryContentsResponse build()
Returns
TypeDescription
QueryDirectoryContentsResponse

buildPartial()

public QueryDirectoryContentsResponse buildPartial()
Returns
TypeDescription
QueryDirectoryContentsResponse

clear()

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

clearDirectoryEntries()

public QueryDirectoryContentsResponse.Builder clearDirectoryEntries()

List of entries in the directory.

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

Returns
TypeDescription
QueryDirectoryContentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryDirectoryContentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
QueryDirectoryContentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QueryDirectoryContentsResponse getDefaultInstanceForType()
Returns
TypeDescription
QueryDirectoryContentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDirectoryEntries(int index)

public QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index)

List of entries in the directory.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry

getDirectoryEntriesBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder(int index)

List of entries in the directory.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

getDirectoryEntriesBuilderList()

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

List of entries in the directory.

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

Returns
TypeDescription
List<Builder>

getDirectoryEntriesCount()

public int getDirectoryEntriesCount()

List of entries in the directory.

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

Returns
TypeDescription
int

getDirectoryEntriesList()

public List<QueryDirectoryContentsResponse.DirectoryEntry> getDirectoryEntriesList()

List of entries in the directory.

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

Returns
TypeDescription
List<DirectoryEntry>

getDirectoryEntriesOrBuilder(int index)

public QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder(int index)

List of entries in the directory.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntryOrBuilder

getDirectoryEntriesOrBuilderList()

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

List of entries in the directory.

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

Returns
TypeDescription
List<? extends com.google.cloud.dataform.v1alpha2.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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryDirectoryContentsResponse other)

public QueryDirectoryContentsResponse.Builder mergeFrom(QueryDirectoryContentsResponse other)
Parameter
NameDescription
otherQueryDirectoryContentsResponse
Returns
TypeDescription
QueryDirectoryContentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDirectoryEntries(int index)

public QueryDirectoryContentsResponse.Builder removeDirectoryEntries(int index)

List of entries in the directory.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
NameDescription
indexint
valueQueryDirectoryContentsResponse.DirectoryEntry
Returns
TypeDescription
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.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1;

Parameters
NameDescription
indexint
builderForValueQueryDirectoryContentsResponse.DirectoryEntry.Builder
Returns
TypeDescription
QueryDirectoryContentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryDirectoryContentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryDirectoryContentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryDirectoryContentsResponse.Builder
Overrides