Class DeleteRelationshipsResponse.Builder

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

public static final class DeleteRelationshipsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeleteRelationshipsResponse.Builder> implements DeleteRelationshipsResponseOrBuilder
Protobuf type authzed.api.v1.DeleteRelationshipsResponse
  • 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<DeleteRelationshipsResponse.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<DeleteRelationshipsResponse.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<DeleteRelationshipsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public DeleteRelationshipsResponse.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<DeleteRelationshipsResponse.Builder>
      Throws:
      IOException
    • hasDeletedAt

      public boolean hasDeletedAt()
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
      Specified by:
      hasDeletedAt in interface DeleteRelationshipsResponseOrBuilder
      Returns:
      Whether the deletedAt field is set.
    • getDeletedAt

      public ZedToken getDeletedAt()
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
      Specified by:
      getDeletedAt in interface DeleteRelationshipsResponseOrBuilder
      Returns:
      The deletedAt.
    • setDeletedAt

      public DeleteRelationshipsResponse.Builder setDeletedAt(ZedToken value)
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
    • setDeletedAt

      public DeleteRelationshipsResponse.Builder setDeletedAt(ZedToken.Builder builderForValue)
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
    • mergeDeletedAt

      public DeleteRelationshipsResponse.Builder mergeDeletedAt(ZedToken value)
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
    • clearDeletedAt

      public DeleteRelationshipsResponse.Builder clearDeletedAt()
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
    • getDeletedAtBuilder

      public ZedToken.Builder getDeletedAtBuilder()
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
    • getDeletedAtOrBuilder

      public ZedTokenOrBuilder getDeletedAtOrBuilder()
       deleted_at is the revision at which the relationships were deleted.
       
      .authzed.api.v1.ZedToken deleted_at = 1;
      Specified by:
      getDeletedAtOrBuilder in interface DeleteRelationshipsResponseOrBuilder
    • getDeletionProgressValue

      public int getDeletionProgressValue()
       deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships.
       
      .authzed.api.v1.DeleteRelationshipsResponse.DeletionProgress deletion_progress = 2;
      Specified by:
      getDeletionProgressValue in interface DeleteRelationshipsResponseOrBuilder
      Returns:
      The enum numeric value on the wire for deletionProgress.
    • setDeletionProgressValue

      public DeleteRelationshipsResponse.Builder setDeletionProgressValue(int value)
       deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships.
       
      .authzed.api.v1.DeleteRelationshipsResponse.DeletionProgress deletion_progress = 2;
      Parameters:
      value - The enum numeric value on the wire for deletionProgress to set.
      Returns:
      This builder for chaining.
    • getDeletionProgress

      public DeleteRelationshipsResponse.DeletionProgress getDeletionProgress()
       deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships.
       
      .authzed.api.v1.DeleteRelationshipsResponse.DeletionProgress deletion_progress = 2;
      Specified by:
      getDeletionProgress in interface DeleteRelationshipsResponseOrBuilder
      Returns:
      The deletionProgress.
    • setDeletionProgress

       deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships.
       
      .authzed.api.v1.DeleteRelationshipsResponse.DeletionProgress deletion_progress = 2;
      Parameters:
      value - The deletionProgress to set.
      Returns:
      This builder for chaining.
    • clearDeletionProgress

      public DeleteRelationshipsResponse.Builder clearDeletionProgress()
       deletion_progress is an enumeration of the possible outcomes that occurred when attempting to delete the specified relationships.
       
      .authzed.api.v1.DeleteRelationshipsResponse.DeletionProgress deletion_progress = 2;
      Returns:
      This builder for chaining.