Class DirectoryEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder>
com.google.cloud.dataform.v1beta1.DirectoryEntry.Builder
All Implemented Interfaces:
DirectoryEntryOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DirectoryEntry

public static final class DirectoryEntry.Builder extends com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder> implements DirectoryEntryOrBuilder
 Represents a single entry in a directory.
 
Protobuf type google.cloud.dataform.v1beta1.DirectoryEntry
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder>
    • clear

      public DirectoryEntry.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder>
    • getDefaultInstanceForType

      public DirectoryEntry getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DirectoryEntry build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DirectoryEntry buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DirectoryEntry.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DirectoryEntry.Builder>
    • mergeFrom

      public DirectoryEntry.Builder mergeFrom(DirectoryEntry other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DirectoryEntry.Builder>
    • mergeFrom

      public DirectoryEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DirectoryEntry.Builder>
      Throws:
      IOException
    • getEntryCase

      public DirectoryEntry.EntryCase getEntryCase()
      Specified by:
      getEntryCase in interface DirectoryEntryOrBuilder
    • clearEntry

      public DirectoryEntry.Builder clearEntry()
    • hasFile

      public boolean hasFile()
       A file in the directory.
       
      string file = 1;
      Specified by:
      hasFile in interface DirectoryEntryOrBuilder
      Returns:
      Whether the file field is set.
    • getFile

      public String getFile()
       A file in the directory.
       
      string file = 1;
      Specified by:
      getFile in interface DirectoryEntryOrBuilder
      Returns:
      The file.
    • getFileBytes

      public com.google.protobuf.ByteString getFileBytes()
       A file in the directory.
       
      string file = 1;
      Specified by:
      getFileBytes in interface DirectoryEntryOrBuilder
      Returns:
      The bytes for file.
    • setFile

      public DirectoryEntry.Builder setFile(String value)
       A file in the directory.
       
      string file = 1;
      Parameters:
      value - The file to set.
      Returns:
      This builder for chaining.
    • clearFile

      public DirectoryEntry.Builder clearFile()
       A file in the directory.
       
      string file = 1;
      Returns:
      This builder for chaining.
    • setFileBytes

      public DirectoryEntry.Builder setFileBytes(com.google.protobuf.ByteString value)
       A file in the directory.
       
      string file = 1;
      Parameters:
      value - The bytes for file to set.
      Returns:
      This builder for chaining.
    • hasDirectory

      public boolean hasDirectory()
       A child directory in the directory.
       
      string directory = 2;
      Specified by:
      hasDirectory in interface DirectoryEntryOrBuilder
      Returns:
      Whether the directory field is set.
    • getDirectory

      public String getDirectory()
       A child directory in the directory.
       
      string directory = 2;
      Specified by:
      getDirectory in interface DirectoryEntryOrBuilder
      Returns:
      The directory.
    • getDirectoryBytes

      public com.google.protobuf.ByteString getDirectoryBytes()
       A child directory in the directory.
       
      string directory = 2;
      Specified by:
      getDirectoryBytes in interface DirectoryEntryOrBuilder
      Returns:
      The bytes for directory.
    • setDirectory

      public DirectoryEntry.Builder setDirectory(String value)
       A child directory in the directory.
       
      string directory = 2;
      Parameters:
      value - The directory to set.
      Returns:
      This builder for chaining.
    • clearDirectory

      public DirectoryEntry.Builder clearDirectory()
       A child directory in the directory.
       
      string directory = 2;
      Returns:
      This builder for chaining.
    • setDirectoryBytes

      public DirectoryEntry.Builder setDirectoryBytes(com.google.protobuf.ByteString value)
       A child directory in the directory.
       
      string directory = 2;
      Parameters:
      value - The bytes for directory to set.
      Returns:
      This builder for chaining.