Class Schema.ReadSchemaResponse.Builder

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

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

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

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

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

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

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

      public com.google.protobuf.ProtocolStringList getObjectDefinitionsList()
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Specified by:
      getObjectDefinitionsList in interface Schema.ReadSchemaResponseOrBuilder
      Returns:
      A list containing the objectDefinitions.
    • getObjectDefinitionsCount

      public int getObjectDefinitionsCount()
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Specified by:
      getObjectDefinitionsCount in interface Schema.ReadSchemaResponseOrBuilder
      Returns:
      The count of objectDefinitions.
    • getObjectDefinitions

      public String getObjectDefinitions(int index)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Specified by:
      getObjectDefinitions in interface Schema.ReadSchemaResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The objectDefinitions at the given index.
    • getObjectDefinitionsBytes

      public com.google.protobuf.ByteString getObjectDefinitionsBytes(int index)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Specified by:
      getObjectDefinitionsBytes in interface Schema.ReadSchemaResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the objectDefinitions at the given index.
    • setObjectDefinitions

      public Schema.ReadSchemaResponse.Builder setObjectDefinitions(int index, String value)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Parameters:
      index - The index to set the value at.
      value - The objectDefinitions to set.
      Returns:
      This builder for chaining.
    • addObjectDefinitions

      public Schema.ReadSchemaResponse.Builder addObjectDefinitions(String value)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Parameters:
      value - The objectDefinitions to add.
      Returns:
      This builder for chaining.
    • addAllObjectDefinitions

      public Schema.ReadSchemaResponse.Builder addAllObjectDefinitions(Iterable<String> values)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Parameters:
      values - The objectDefinitions to add.
      Returns:
      This builder for chaining.
    • clearObjectDefinitions

      public Schema.ReadSchemaResponse.Builder clearObjectDefinitions()
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Returns:
      This builder for chaining.
    • addObjectDefinitionsBytes

      public Schema.ReadSchemaResponse.Builder addObjectDefinitionsBytes(com.google.protobuf.ByteString value)
       The Object Definitions that were requested.
       
      repeated string object_definitions = 1;
      Parameters:
      value - The bytes of the objectDefinitions to add.
      Returns:
      This builder for chaining.
    • getComputedDefinitionsRevision

      public String getComputedDefinitionsRevision()
       The computed revision of the returned object definitions.
       
      string computed_definitions_revision = 2;
      Specified by:
      getComputedDefinitionsRevision in interface Schema.ReadSchemaResponseOrBuilder
      Returns:
      The computedDefinitionsRevision.
    • getComputedDefinitionsRevisionBytes

      public com.google.protobuf.ByteString getComputedDefinitionsRevisionBytes()
       The computed revision of the returned object definitions.
       
      string computed_definitions_revision = 2;
      Specified by:
      getComputedDefinitionsRevisionBytes in interface Schema.ReadSchemaResponseOrBuilder
      Returns:
      The bytes for computedDefinitionsRevision.
    • setComputedDefinitionsRevision

      public Schema.ReadSchemaResponse.Builder setComputedDefinitionsRevision(String value)
       The computed revision of the returned object definitions.
       
      string computed_definitions_revision = 2;
      Parameters:
      value - The computedDefinitionsRevision to set.
      Returns:
      This builder for chaining.
    • clearComputedDefinitionsRevision

      public Schema.ReadSchemaResponse.Builder clearComputedDefinitionsRevision()
       The computed revision of the returned object definitions.
       
      string computed_definitions_revision = 2;
      Returns:
      This builder for chaining.
    • setComputedDefinitionsRevisionBytes

      public Schema.ReadSchemaResponse.Builder setComputedDefinitionsRevisionBytes(com.google.protobuf.ByteString value)
       The computed revision of the returned object definitions.
       
      string computed_definitions_revision = 2;
      Parameters:
      value - The bytes for computedDefinitionsRevision to set.
      Returns:
      This builder for chaining.