Class ReflectSchemaResponse.Builder

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

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

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

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

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

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

      public ReflectSchemaResponse.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<ReflectSchemaResponse.Builder>
      Throws:
      IOException
    • getDefinitionsList

      public List<ReflectionDefinition> getDefinitionsList()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsList in interface ReflectSchemaResponseOrBuilder
    • getDefinitionsCount

      public int getDefinitionsCount()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsCount in interface ReflectSchemaResponseOrBuilder
    • getDefinitions

      public ReflectionDefinition getDefinitions(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitions in interface ReflectSchemaResponseOrBuilder
    • setDefinitions

      public ReflectSchemaResponse.Builder setDefinitions(int index, ReflectionDefinition value)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • setDefinitions

      public ReflectSchemaResponse.Builder setDefinitions(int index, ReflectionDefinition.Builder builderForValue)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addDefinitions

      public ReflectSchemaResponse.Builder addDefinitions(ReflectionDefinition value)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addDefinitions

      public ReflectSchemaResponse.Builder addDefinitions(int index, ReflectionDefinition value)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addDefinitions

      public ReflectSchemaResponse.Builder addDefinitions(ReflectionDefinition.Builder builderForValue)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addDefinitions

      public ReflectSchemaResponse.Builder addDefinitions(int index, ReflectionDefinition.Builder builderForValue)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addAllDefinitions

      public ReflectSchemaResponse.Builder addAllDefinitions(Iterable<? extends ReflectionDefinition> values)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • clearDefinitions

      public ReflectSchemaResponse.Builder clearDefinitions()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • removeDefinitions

      public ReflectSchemaResponse.Builder removeDefinitions(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • getDefinitionsBuilder

      public ReflectionDefinition.Builder getDefinitionsBuilder(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • getDefinitionsOrBuilder

      public ReflectionDefinitionOrBuilder getDefinitionsOrBuilder(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsOrBuilder in interface ReflectSchemaResponseOrBuilder
    • getDefinitionsOrBuilderList

      public List<? extends ReflectionDefinitionOrBuilder> getDefinitionsOrBuilderList()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
      Specified by:
      getDefinitionsOrBuilderList in interface ReflectSchemaResponseOrBuilder
    • addDefinitionsBuilder

      public ReflectionDefinition.Builder addDefinitionsBuilder()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • addDefinitionsBuilder

      public ReflectionDefinition.Builder addDefinitionsBuilder(int index)
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • getDefinitionsBuilderList

      public List<ReflectionDefinition.Builder> getDefinitionsBuilderList()
       definitions are the definitions defined in the schema.
       
      repeated .authzed.api.v1.ReflectionDefinition definitions = 1;
    • getCaveatsList

      public List<ReflectionCaveat> getCaveatsList()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsList in interface ReflectSchemaResponseOrBuilder
    • getCaveatsCount

      public int getCaveatsCount()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsCount in interface ReflectSchemaResponseOrBuilder
    • getCaveats

      public ReflectionCaveat getCaveats(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveats in interface ReflectSchemaResponseOrBuilder
    • setCaveats

      public ReflectSchemaResponse.Builder setCaveats(int index, ReflectionCaveat value)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • setCaveats

      public ReflectSchemaResponse.Builder setCaveats(int index, ReflectionCaveat.Builder builderForValue)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addCaveats

       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addCaveats

      public ReflectSchemaResponse.Builder addCaveats(int index, ReflectionCaveat value)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addCaveats

      public ReflectSchemaResponse.Builder addCaveats(ReflectionCaveat.Builder builderForValue)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addCaveats

      public ReflectSchemaResponse.Builder addCaveats(int index, ReflectionCaveat.Builder builderForValue)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addAllCaveats

      public ReflectSchemaResponse.Builder addAllCaveats(Iterable<? extends ReflectionCaveat> values)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • clearCaveats

      public ReflectSchemaResponse.Builder clearCaveats()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • removeCaveats

      public ReflectSchemaResponse.Builder removeCaveats(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • getCaveatsBuilder

      public ReflectionCaveat.Builder getCaveatsBuilder(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • getCaveatsOrBuilder

      public ReflectionCaveatOrBuilder getCaveatsOrBuilder(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsOrBuilder in interface ReflectSchemaResponseOrBuilder
    • getCaveatsOrBuilderList

      public List<? extends ReflectionCaveatOrBuilder> getCaveatsOrBuilderList()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
      Specified by:
      getCaveatsOrBuilderList in interface ReflectSchemaResponseOrBuilder
    • addCaveatsBuilder

      public ReflectionCaveat.Builder addCaveatsBuilder()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • addCaveatsBuilder

      public ReflectionCaveat.Builder addCaveatsBuilder(int index)
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • getCaveatsBuilderList

      public List<ReflectionCaveat.Builder> getCaveatsBuilderList()
       caveats are the caveats defined in the schema.
       
      repeated .authzed.api.v1.ReflectionCaveat caveats = 2;
    • hasReadAt

      public boolean hasReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
      Specified by:
      hasReadAt in interface ReflectSchemaResponseOrBuilder
      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 = 3;
      Specified by:
      getReadAt in interface ReflectSchemaResponseOrBuilder
      Returns:
      The readAt.
    • setReadAt

      public ReflectSchemaResponse.Builder setReadAt(ZedToken value)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
    • setReadAt

      public ReflectSchemaResponse.Builder setReadAt(ZedToken.Builder builderForValue)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
    • mergeReadAt

      public ReflectSchemaResponse.Builder mergeReadAt(ZedToken value)
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
    • clearReadAt

      public ReflectSchemaResponse.Builder clearReadAt()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
    • getReadAtBuilder

      public ZedToken.Builder getReadAtBuilder()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
    • getReadAtOrBuilder

      public ZedTokenOrBuilder getReadAtOrBuilder()
       read_at is the ZedToken at which the schema was read.
       
      .authzed.api.v1.ZedToken read_at = 3;
      Specified by:
      getReadAtOrBuilder in interface ReflectSchemaResponseOrBuilder