Class QueryDirectoryContentsResponse.DirectoryEntry (0.23.0)

public static final class QueryDirectoryContentsResponse.DirectoryEntry extends GeneratedMessageV3 implements QueryDirectoryContentsResponse.DirectoryEntryOrBuilder

Represents a single entry in a workspace directory.

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

Inheritance

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

Static Fields

DIRECTORY_FIELD_NUMBER

public static final int DIRECTORY_FIELD_NUMBER
Field Value
TypeDescription
int

FILE_FIELD_NUMBER

public static final int FILE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry

getDescriptor()

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

newBuilder()

public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder()
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)

public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)
Parameter
NameDescription
prototypeQueryDirectoryContentsResponse.DirectoryEntry
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder

parseDelimitedFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryDirectoryContentsResponse.DirectoryEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException