Class QueryDirectoryContentsResponse.Builder

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

public static final class QueryDirectoryContentsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryDirectoryContentsResponse.Builder> implements QueryDirectoryContentsResponseOrBuilder
 `QueryDirectoryContents` response message.
 
Protobuf type google.cloud.dataform.v1.QueryDirectoryContentsResponse
  • 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<QueryDirectoryContentsResponse.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<QueryDirectoryContentsResponse.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<QueryDirectoryContentsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public QueryDirectoryContentsResponse.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<QueryDirectoryContentsResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public QueryDirectoryContentsResponse.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<QueryDirectoryContentsResponse.Builder>
      Throws:
      IOException
    • getDirectoryEntriesList

      public List<DirectoryEntry> getDirectoryEntriesList()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
      Specified by:
      getDirectoryEntriesList in interface QueryDirectoryContentsResponseOrBuilder
    • getDirectoryEntriesCount

      public int getDirectoryEntriesCount()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
      Specified by:
      getDirectoryEntriesCount in interface QueryDirectoryContentsResponseOrBuilder
    • getDirectoryEntries

      public DirectoryEntry getDirectoryEntries(int index)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
      Specified by:
      getDirectoryEntries in interface QueryDirectoryContentsResponseOrBuilder
    • setDirectoryEntries

      public QueryDirectoryContentsResponse.Builder setDirectoryEntries(int index, DirectoryEntry value)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • setDirectoryEntries

      public QueryDirectoryContentsResponse.Builder setDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addDirectoryEntries

      public QueryDirectoryContentsResponse.Builder addDirectoryEntries(DirectoryEntry value)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addDirectoryEntries

      public QueryDirectoryContentsResponse.Builder addDirectoryEntries(int index, DirectoryEntry value)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addDirectoryEntries

      public QueryDirectoryContentsResponse.Builder addDirectoryEntries(DirectoryEntry.Builder builderForValue)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addDirectoryEntries

      public QueryDirectoryContentsResponse.Builder addDirectoryEntries(int index, DirectoryEntry.Builder builderForValue)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addAllDirectoryEntries

      public QueryDirectoryContentsResponse.Builder addAllDirectoryEntries(Iterable<? extends DirectoryEntry> values)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • clearDirectoryEntries

      public QueryDirectoryContentsResponse.Builder clearDirectoryEntries()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • removeDirectoryEntries

      public QueryDirectoryContentsResponse.Builder removeDirectoryEntries(int index)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • getDirectoryEntriesBuilder

      public DirectoryEntry.Builder getDirectoryEntriesBuilder(int index)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • getDirectoryEntriesOrBuilder

      public DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder(int index)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
      Specified by:
      getDirectoryEntriesOrBuilder in interface QueryDirectoryContentsResponseOrBuilder
    • getDirectoryEntriesOrBuilderList

      public List<? extends DirectoryEntryOrBuilder> getDirectoryEntriesOrBuilderList()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
      Specified by:
      getDirectoryEntriesOrBuilderList in interface QueryDirectoryContentsResponseOrBuilder
    • addDirectoryEntriesBuilder

      public DirectoryEntry.Builder addDirectoryEntriesBuilder()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • addDirectoryEntriesBuilder

      public DirectoryEntry.Builder addDirectoryEntriesBuilder(int index)
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • getDirectoryEntriesBuilderList

      public List<DirectoryEntry.Builder> getDirectoryEntriesBuilderList()
       List of entries in the directory.
       
      repeated .google.cloud.dataform.v1.DirectoryEntry directory_entries = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface QueryDirectoryContentsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface QueryDirectoryContentsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public QueryDirectoryContentsResponse.Builder setNextPageToken(String value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public QueryDirectoryContentsResponse.Builder clearNextPageToken()
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public QueryDirectoryContentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token, which can be sent as `page_token` to retrieve the next page.
       If this field is omitted, there are no subsequent pages.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.