Class QueryDirectoryContentsResponse.DirectoryEntry (0.31.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.v1alpha2.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
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()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry

getDescriptor()

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

newBuilder()

public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)

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

parseDelimitedFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry
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()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry

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()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.EntryCase

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

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()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder
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()
Returns
Type Description
QueryDirectoryContentsResponse.DirectoryEntry.Builder

writeTo(CodedOutputStream output)

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