Class WriteSchemaResponse.Builder

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

public static final class WriteSchemaResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<WriteSchemaResponse.Builder> implements WriteSchemaResponseOrBuilder
 WriteSchemaResponse is the resulting data after having written a Schema to
 a Permissions System.
 
Protobuf type authzed.api.v1.WriteSchemaResponse
  • 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<WriteSchemaResponse.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<WriteSchemaResponse.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<WriteSchemaResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public WriteSchemaResponse.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<WriteSchemaResponse.Builder>
      Throws:
      IOException
    • hasWrittenAt

      public boolean hasWrittenAt()
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
      Specified by:
      hasWrittenAt in interface WriteSchemaResponseOrBuilder
      Returns:
      Whether the writtenAt field is set.
    • getWrittenAt

      public ZedToken getWrittenAt()
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
      Specified by:
      getWrittenAt in interface WriteSchemaResponseOrBuilder
      Returns:
      The writtenAt.
    • setWrittenAt

      public WriteSchemaResponse.Builder setWrittenAt(ZedToken value)
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
    • setWrittenAt

      public WriteSchemaResponse.Builder setWrittenAt(ZedToken.Builder builderForValue)
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
    • mergeWrittenAt

      public WriteSchemaResponse.Builder mergeWrittenAt(ZedToken value)
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
    • clearWrittenAt

      public WriteSchemaResponse.Builder clearWrittenAt()
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
    • getWrittenAtBuilder

      public ZedToken.Builder getWrittenAtBuilder()
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
    • getWrittenAtOrBuilder

      public ZedTokenOrBuilder getWrittenAtOrBuilder()
       written_at is the ZedToken at which the schema was written.
       
      .authzed.api.v1.ZedToken written_at = 1 [(.validate.rules) = { ... }
      Specified by:
      getWrittenAtOrBuilder in interface WriteSchemaResponseOrBuilder