Class QueryDirectoryContentsResponse.DirectoryEntry.Builder (0.23.0)

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

Represents a single entry in a workspace directory.

Protobuf type google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public QueryDirectoryContentsResponse.DirectoryEntry build()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry

buildPartial()

public QueryDirectoryContentsResponse.DirectoryEntry buildPartial()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry

clear()

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

clearDirectory()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder clearDirectory()

A child directory in the directory.

string directory = 2;

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

clearEntry()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder clearEntry()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder
Overrides

clearFile()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder clearFile()

A file in the directory.

string file = 1;

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDirectory()

public String getDirectory()

A child directory in the directory.

string directory = 2;

Returns
TypeDescription
String

The directory.

getDirectoryBytes()

public ByteString getDirectoryBytes()

A child directory in the directory.

string directory = 2;

Returns
TypeDescription
ByteString

The bytes for directory.

getEntryCase()

public QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.EntryCase

getFile()

public String getFile()

A file in the directory.

string file = 1;

Returns
TypeDescription
String

The file.

getFileBytes()

public ByteString getFileBytes()

A file in the directory.

string file = 1;

Returns
TypeDescription
ByteString

The bytes for file.

hasDirectory()

public boolean hasDirectory()

A child directory in the directory.

string directory = 2;

Returns
TypeDescription
boolean

Whether the directory field is set.

hasFile()

public boolean hasFile()

A file in the directory.

string file = 1;

Returns
TypeDescription
boolean

Whether the file field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryDirectoryContentsResponse.DirectoryEntry other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDirectory(String value)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder setDirectory(String value)

A child directory in the directory.

string directory = 2;

Parameter
NameDescription
valueString

The directory to set.

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

setDirectoryBytes(ByteString value)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder setDirectoryBytes(ByteString value)

A child directory in the directory.

string directory = 2;

Parameter
NameDescription
valueByteString

The bytes for directory to set.

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFile(String value)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder setFile(String value)

A file in the directory.

string file = 1;

Parameter
NameDescription
valueString

The file to set.

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

setFileBytes(ByteString value)

public QueryDirectoryContentsResponse.DirectoryEntry.Builder setFileBytes(ByteString value)

A file in the directory.

string file = 1;

Parameter
NameDescription
valueByteString

The bytes for file to set.

Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

This builder for chaining.

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

public QueryDirectoryContentsResponse.DirectoryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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