Class QueryDirectoryContentsResponse.DirectoryEntry (0.13.0)

See more code actions.
public static final class QueryDirectoryContentsResponse.DirectoryEntry extends GeneratedMessageV3 implements QueryDirectoryContentsResponse.DirectoryEntryOrBuilder

Represents a single entry in a workspace directory.

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

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > QueryDirectoryContentsResponse.DirectoryEntry

Static Fields

DIRECTORY_FIELD_NUMBER

public static final int DIRECTORY_FIELD_NUMBER
Field Value
Type Description
int

FILE_FIELD_NUMBER

public static final int FILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance()

getDescriptor()

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

newBuilder()

public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder()

newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)

public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)
Parameter
Name Description
prototype QueryDirectoryContentsResponse.DirectoryEntry

parseDelimitedFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<QueryDirectoryContentsResponse.DirectoryEntry> parser()
Returns
Type Description
Parser<DirectoryEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType()

getDirectory()

public String getDirectory()

A child directory in the directory.

string directory = 2;

Returns
Type Description
String

The directory.

getDirectoryBytes()

public ByteString getDirectoryBytes()

A child directory in the directory.

string directory = 2;

Returns
Type Description
ByteString

The bytes for directory.

getEntryCase()

public QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase()

getFile()

public String getFile()

A file in the directory.

string file = 1;

Returns
Type Description
String

The file.

getFileBytes()

public ByteString getFileBytes()

A file in the directory.

string file = 1;

Returns
Type Description
ByteString

The bytes for file.

getParserForType()

public Parser<QueryDirectoryContentsResponse.DirectoryEntry> getParserForType()
Returns
Type Description
Parser<DirectoryEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasDirectory()

public boolean hasDirectory()

A child directory in the directory.

string directory = 2;

Returns
Type Description
boolean

Whether the directory field is set.

hasFile()

public boolean hasFile()

A file in the directory.

string file = 1;

Returns
Type Description
boolean

Whether the file field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public QueryDirectoryContentsResponse.DirectoryEntry.Builder toBuilder()

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException