public static final class DirectoryEntry.Builder extends GeneratedMessageV3.Builder<DirectoryEntry.Builder> implements DirectoryEntryOrBuilder
Represents a single entry in a directory.
Protobuf type google.cloud.dataform.v1beta1.DirectoryEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DirectoryEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DirectoryEntry build()
buildPartial()
public DirectoryEntry buildPartial()
clear()
public DirectoryEntry.Builder clear()
Overrides
clearDirectory()
public DirectoryEntry.Builder clearDirectory()
A child directory in the directory.
string directory = 2;
clearEntry()
public DirectoryEntry.Builder clearEntry()
clearField(Descriptors.FieldDescriptor field)
public DirectoryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFile()
public DirectoryEntry.Builder clearFile()
A file in the directory.
string file = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public DirectoryEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DirectoryEntry.Builder clone()
Overrides
getDefaultInstanceForType()
public DirectoryEntry getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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()
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()
A file in the directory.
string file = 1;
Returns |
Type |
Description |
boolean |
Whether the file field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DirectoryEntry other)
public DirectoryEntry.Builder mergeFrom(DirectoryEntry other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DirectoryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DirectoryEntry.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DirectoryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDirectory(String value)
public DirectoryEntry.Builder setDirectory(String value)
A child directory in the directory.
string directory = 2;
Parameter |
Name |
Description |
value |
String
The directory to set.
|
setDirectoryBytes(ByteString value)
public DirectoryEntry.Builder setDirectoryBytes(ByteString value)
A child directory in the directory.
string directory = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for directory to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DirectoryEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFile(String value)
public DirectoryEntry.Builder setFile(String value)
A file in the directory.
string file = 1;
Parameter |
Name |
Description |
value |
String
The file to set.
|
setFileBytes(ByteString value)
public DirectoryEntry.Builder setFileBytes(ByteString value)
A file in the directory.
string file = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for file to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DirectoryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DirectoryEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides