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
Static Fields
DIRECTORY_FIELD_NUMBER
public static final int DIRECTORY_FIELD_NUMBER
Field Value
FILE_FIELD_NUMBER
public static final int FILE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder()
Returns
newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)
public static QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilder(QueryDirectoryContentsResponse.DirectoryEntry prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QueryDirectoryContentsResponse.DirectoryEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<QueryDirectoryContentsResponse.DirectoryEntry> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType()
Returns
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
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
getParserForType()
public Parser<QueryDirectoryContentsResponse.DirectoryEntry> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
A file in the directory.
string file = 1;
Returns
Type |
Description |
boolean |
Whether the file field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QueryDirectoryContentsResponse.DirectoryEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public QueryDirectoryContentsResponse.DirectoryEntry.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions