Send feedback
Class QueryDirectoryContentsResponse.DirectoryEntry.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.0 keyboard_arrow_down
public static final class QueryDirectoryContentsResponse . DirectoryEntry . Builder extends GeneratedMessageV3 . Builder<QueryDirectoryContentsResponse . DirectoryEntry . Builder > implements QueryDirectoryContentsResponse . DirectoryEntryOrBuilder
Represents a single entry in a workspace directory.
Protobuf type
google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public QueryDirectoryContentsResponse . DirectoryEntry build ()
Returns
buildPartial()
public QueryDirectoryContentsResponse . DirectoryEntry buildPartial ()
Returns
clear()
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clear ()
Returns
Overrides
clearDirectory()
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clearDirectory ()
A child directory in the directory.
string directory = 2;
Returns
clearEntry()
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clearEntry ()
Returns
clearField(Descriptors.FieldDescriptor field)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearFile()
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clearFile ()
A file in the directory.
string file = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public QueryDirectoryContentsResponse . DirectoryEntry . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public QueryDirectoryContentsResponse . DirectoryEntry getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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 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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(QueryDirectoryContentsResponse.DirectoryEntry other)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder mergeFrom ( QueryDirectoryContentsResponse . DirectoryEntry other )
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryDirectoryContentsResponse . DirectoryEntry . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDirectory(String value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder setDirectory ( String value )
A child directory in the directory.
string directory = 2;
Parameter
Name
Description
value
String
The directory to set.
Returns
setDirectoryBytes(ByteString value)
public QueryDirectoryContentsResponse . 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.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setFile(String value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder setFile ( String value )
A file in the directory.
string file = 1;
Parameter
Name
Description
value
String
The file to set.
Returns
setFileBytes(ByteString value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder setFileBytes ( ByteString value )
A file in the directory.
string file = 1;
Parameter
Name
Description
value
ByteString
The bytes for file to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryDirectoryContentsResponse . DirectoryEntry . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryDirectoryContentsResponse . DirectoryEntry . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]