Class ReadSchemaResponse.Builder

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

public static final class ReadSchemaResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReadSchemaResponse.Builder> implements ReadSchemaResponseOrBuilder
 ReadSchemaResponse is the resulting data after having read the Object
 Definitions from a Schema.
 
Protobuf type authzed.api.v1.ReadSchemaResponse
  • 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<ReadSchemaResponse.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<ReadSchemaResponse.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<ReadSchemaResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ReadSchemaResponse.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<ReadSchemaResponse.Builder>
      Throws:
      IOException
    • getSchemaText

      public String getSchemaText()
       schema_text is the textual form of the current schema in the system
       
      string schema_text = 1;
      Specified by:
      getSchemaText in interface ReadSchemaResponseOrBuilder
      Returns:
      The schemaText.
    • getSchemaTextBytes

      public com.google.protobuf.ByteString getSchemaTextBytes()
       schema_text is the textual form of the current schema in the system
       
      string schema_text = 1;
      Specified by:
      getSchemaTextBytes in interface ReadSchemaResponseOrBuilder
      Returns:
      The bytes for schemaText.
    • setSchemaText

      public ReadSchemaResponse.Builder setSchemaText(String value)
       schema_text is the textual form of the current schema in the system
       
      string schema_text = 1;
      Parameters:
      value - The schemaText to set.
      Returns:
      This builder for chaining.
    • clearSchemaText

      public ReadSchemaResponse.Builder clearSchemaText()
       schema_text is the textual form of the current schema in the system
       
      string schema_text = 1;
      Returns:
      This builder for chaining.
    • setSchemaTextBytes

      public ReadSchemaResponse.Builder setSchemaTextBytes(com.google.protobuf.ByteString value)
       schema_text is the textual form of the current schema in the system
       
      string schema_text = 1;
      Parameters:
      value - The bytes for schemaText to set.
      Returns:
      This builder for chaining.
    • hasReadAt

      public boolean hasReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
      Specified by:
      hasReadAt in interface ReadSchemaResponseOrBuilder
      Returns:
      Whether the readAt field is set.
    • getReadAt

      public ZedToken getReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
      Specified by:
      getReadAt in interface ReadSchemaResponseOrBuilder
      Returns:
      The readAt.
    • setReadAt

      public ReadSchemaResponse.Builder setReadAt(ZedToken value)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
    • setReadAt

      public ReadSchemaResponse.Builder setReadAt(ZedToken.Builder builderForValue)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
    • mergeReadAt

      public ReadSchemaResponse.Builder mergeReadAt(ZedToken value)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
    • clearReadAt

      public ReadSchemaResponse.Builder clearReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
    • getReadAtBuilder

      public ZedToken.Builder getReadAtBuilder()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
    • getReadAtOrBuilder

      public ZedTokenOrBuilder getReadAtOrBuilder()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 2 [(.validate.rules) = { ... }
      Specified by:
      getReadAtOrBuilder in interface ReadSchemaResponseOrBuilder