Class DownloadPermissionSetsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DownloadPermissionSetsResponse.Builder>
com.authzed.api.materialize.v0.DownloadPermissionSetsResponse.Builder
All Implemented Interfaces:
DownloadPermissionSetsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DownloadPermissionSetsResponse

public static final class DownloadPermissionSetsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<DownloadPermissionSetsResponse.Builder> implements DownloadPermissionSetsResponseOrBuilder
Protobuf type authzed.api.materialize.v0.DownloadPermissionSetsResponse
  • 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<DownloadPermissionSetsResponse.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<DownloadPermissionSetsResponse.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<DownloadPermissionSetsResponse.Builder>
    • getDefaultInstanceForType

      public DownloadPermissionSetsResponse 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 DownloadPermissionSetsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public DownloadPermissionSetsResponse.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<DownloadPermissionSetsResponse.Builder>
      Throws:
      IOException
    • getFilesList

      public List<File> getFilesList()
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
      Specified by:
      getFilesList in interface DownloadPermissionSetsResponseOrBuilder
    • getFilesCount

      public int getFilesCount()
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
      Specified by:
      getFilesCount in interface DownloadPermissionSetsResponseOrBuilder
    • getFiles

      public File getFiles(int index)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
      Specified by:
      getFiles in interface DownloadPermissionSetsResponseOrBuilder
    • setFiles

      public DownloadPermissionSetsResponse.Builder setFiles(int index, File value)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • setFiles

      public DownloadPermissionSetsResponse.Builder setFiles(int index, File.Builder builderForValue)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addFiles

       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addFiles

      public DownloadPermissionSetsResponse.Builder addFiles(int index, File value)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addFiles

      public DownloadPermissionSetsResponse.Builder addFiles(File.Builder builderForValue)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addFiles

      public DownloadPermissionSetsResponse.Builder addFiles(int index, File.Builder builderForValue)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addAllFiles

      public DownloadPermissionSetsResponse.Builder addAllFiles(Iterable<? extends File> values)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • clearFiles

       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • removeFiles

      public DownloadPermissionSetsResponse.Builder removeFiles(int index)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • getFilesBuilder

      public File.Builder getFilesBuilder(int index)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • getFilesOrBuilder

      public FileOrBuilder getFilesOrBuilder(int index)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
      Specified by:
      getFilesOrBuilder in interface DownloadPermissionSetsResponseOrBuilder
    • getFilesOrBuilderList

      public List<? extends FileOrBuilder> getFilesOrBuilderList()
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
      Specified by:
      getFilesOrBuilderList in interface DownloadPermissionSetsResponseOrBuilder
    • addFilesBuilder

      public File.Builder addFilesBuilder()
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • addFilesBuilder

      public File.Builder addFilesBuilder(int index)
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • getFilesBuilderList

      public List<File.Builder> getFilesBuilderList()
       files contains the list of downloadable files with their URLs
       
      repeated .authzed.api.materialize.v0.File files = 1;
    • hasTimestamp

      public boolean hasTimestamp()
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      hasTimestamp in interface DownloadPermissionSetsResponseOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      getTimestamp in interface DownloadPermissionSetsResponseOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public DownloadPermissionSetsResponse.Builder setTimestamp(com.google.protobuf.Timestamp value)
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
    • setTimestamp

      public DownloadPermissionSetsResponse.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
    • mergeTimestamp

      public DownloadPermissionSetsResponse.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
    • clearTimestamp

      public DownloadPermissionSetsResponse.Builder clearTimestamp()
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       timestamp represents the time associated with the returned data revision.
       
      .google.protobuf.Timestamp timestamp = 2;
      Specified by:
      getTimestampOrBuilder in interface DownloadPermissionSetsResponseOrBuilder
    • hasAtRevision

      public boolean hasAtRevision()
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
      Specified by:
      hasAtRevision in interface DownloadPermissionSetsResponseOrBuilder
      Returns:
      Whether the atRevision field is set.
    • getAtRevision

      public ZedToken getAtRevision()
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
      Specified by:
      getAtRevision in interface DownloadPermissionSetsResponseOrBuilder
      Returns:
      The atRevision.
    • setAtRevision

      public DownloadPermissionSetsResponse.Builder setAtRevision(ZedToken value)
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
    • setAtRevision

      public DownloadPermissionSetsResponse.Builder setAtRevision(ZedToken.Builder builderForValue)
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
    • mergeAtRevision

      public DownloadPermissionSetsResponse.Builder mergeAtRevision(ZedToken value)
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
    • clearAtRevision

      public DownloadPermissionSetsResponse.Builder clearAtRevision()
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
    • getAtRevisionBuilder

      public ZedToken.Builder getAtRevisionBuilder()
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
    • getAtRevisionOrBuilder

      public ZedTokenOrBuilder getAtRevisionOrBuilder()
       at_revision is the snapshot revision the returned files were produced at,
       encoded as a ZedToken. Consumers should pass this token to
       WatchPermissionSets as optional_starting_after to resume the stream
       immediately after the snapshot without leaving gaps in event history.
       
      .authzed.api.v1.ZedToken at_revision = 3;
      Specified by:
      getAtRevisionOrBuilder in interface DownloadPermissionSetsResponseOrBuilder