Class QueryRepositoryDirectoryContentsResponse.Builder (0.47.0)

public static final class QueryRepositoryDirectoryContentsResponse.Builder extends GeneratedMessageV3.Builder<QueryRepositoryDirectoryContentsResponse.Builder> implements QueryRepositoryDirectoryContentsResponseOrBuilder

QueryRepositoryDirectoryContents response message.

Protobuf type google.cloud.dataform.v1beta1.QueryRepositoryDirectoryContentsResponse

Static Methods

getDescriptor()

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

Methods

addAllDirectoryEntries(Iterable<? extends DirectoryEntry> values)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

addDirectoryEntries(DirectoryEntry value)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

addDirectoryEntries(DirectoryEntry.Builder builderForValue)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

addDirectoryEntries(int index, DirectoryEntry value)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

addDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.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 QueryRepositoryDirectoryContentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryRepositoryDirectoryContentsResponse.Builder
Overrides

build()

public QueryRepositoryDirectoryContentsResponse build()
Returns
Type Description
QueryRepositoryDirectoryContentsResponse

buildPartial()

public QueryRepositoryDirectoryContentsResponse buildPartial()
Returns
Type Description
QueryRepositoryDirectoryContentsResponse

clear()

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

clearDirectoryEntries()

public QueryRepositoryDirectoryContentsResponse.Builder clearDirectoryEntries()

List of entries in the directory.

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

Returns
Type Description
QueryRepositoryDirectoryContentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QueryRepositoryDirectoryContentsResponse getDefaultInstanceForType()
Returns
Type Description
QueryRepositoryDirectoryContentsResponse

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(QueryRepositoryDirectoryContentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDirectoryEntries(int index)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

setDirectoryEntries(int index, DirectoryEntry value)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

setDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public QueryRepositoryDirectoryContentsResponse.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
QueryRepositoryDirectoryContentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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