Class DirectoryEntry (0.35.0)

public final class DirectoryEntry extends GeneratedMessageV3 implements DirectoryEntryOrBuilder

Represents a single entry in a directory.

Protobuf type google.cloud.dataform.v1beta1.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 DirectoryEntry getDefaultInstance()
Returns
Type Description
DirectoryEntry

getDescriptor()

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

newBuilder()

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

newBuilder(DirectoryEntry prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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 DirectoryEntry getDefaultInstanceForType()
Returns
Type Description
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 DirectoryEntry.EntryCase getEntryCase()
Returns
Type Description
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<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 DirectoryEntry.Builder newBuilderForType()
Returns
Type Description
DirectoryEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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