public static final class DirectoryEntry.Builder extends GeneratedMessage.Builder<DirectoryEntry.Builder> implements DirectoryEntryOrBuilderRepresents a single entry in a directory.
Protobuf type google.cloud.dataform.v1beta1.DirectoryEntry
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DirectoryEntry.BuilderImplements
DirectoryEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DirectoryEntry build()| Returns | |
|---|---|
| Type | Description |
DirectoryEntry |
|
buildPartial()
public DirectoryEntry buildPartial()| Returns | |
|---|---|
| Type | Description |
DirectoryEntry |
|
clear()
public DirectoryEntry.Builder clear()| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
|
clearDirectory()
public DirectoryEntry.Builder clearDirectory()A child directory in the directory.
string directory = 2;
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |
clearEntry()
public DirectoryEntry.Builder clearEntry()| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
|
clearFile()
public DirectoryEntry.Builder clearFile()A file in the directory.
string file = 1;
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DirectoryEntry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DirectoryEntry |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DirectoryEntry other)
public DirectoryEntry.Builder mergeFrom(DirectoryEntry other)| Parameter | |
|---|---|
| Name | Description |
other |
DirectoryEntry |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DirectoryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DirectoryEntry.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
|
setDirectory(String value)
public DirectoryEntry.Builder setDirectory(String value)A child directory in the directory.
string directory = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe directory to set. |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |
setDirectoryBytes(ByteString value)
public DirectoryEntry.Builder setDirectoryBytes(ByteString value)A child directory in the directory.
string directory = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for directory to set. |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |
setFile(String value)
public DirectoryEntry.Builder setFile(String value)A file in the directory.
string file = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe file to set. |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |
setFileBytes(ByteString value)
public DirectoryEntry.Builder setFileBytes(ByteString value)A file in the directory.
string file = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for file to set. |
| Returns | |
|---|---|
| Type | Description |
DirectoryEntry.Builder |
This builder for chaining. |