Class ExpCaveatParameter.Builder

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

public static final class ExpCaveatParameter.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExpCaveatParameter.Builder> implements ExpCaveatParameterOrBuilder
 ExpCaveatParameter is the representation of a parameter in a caveat.
 
Protobuf type authzed.api.v1.ExpCaveatParameter
  • 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<ExpCaveatParameter.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<ExpCaveatParameter.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<ExpCaveatParameter.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public ExpCaveatParameter.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<ExpCaveatParameter.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface ExpCaveatParameterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface ExpCaveatParameterOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExpCaveatParameter.Builder setName(String value)
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ExpCaveatParameter.Builder clearName()
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExpCaveatParameter.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       type is the type of the parameter. Will be a string representing the
       type, e.g. `int` or `list<string>`
       
      string type = 2;
      Specified by:
      getType in interface ExpCaveatParameterOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       type is the type of the parameter. Will be a string representing the
       type, e.g. `int` or `list<string>`
       
      string type = 2;
      Specified by:
      getTypeBytes in interface ExpCaveatParameterOrBuilder
      Returns:
      The bytes for type.
    • setType

      public ExpCaveatParameter.Builder setType(String value)
       type is the type of the parameter. Will be a string representing the
       type, e.g. `int` or `list<string>`
       
      string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public ExpCaveatParameter.Builder clearType()
       type is the type of the parameter. Will be a string representing the
       type, e.g. `int` or `list<string>`
       
      string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public ExpCaveatParameter.Builder setTypeBytes(com.google.protobuf.ByteString value)
       type is the type of the parameter. Will be a string representing the
       type, e.g. `int` or `list<string>`
       
      string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getParentCaveatName

      public String getParentCaveatName()
      string parent_caveat_name = 3;
      Specified by:
      getParentCaveatName in interface ExpCaveatParameterOrBuilder
      Returns:
      The parentCaveatName.
    • getParentCaveatNameBytes

      public com.google.protobuf.ByteString getParentCaveatNameBytes()
      string parent_caveat_name = 3;
      Specified by:
      getParentCaveatNameBytes in interface ExpCaveatParameterOrBuilder
      Returns:
      The bytes for parentCaveatName.
    • setParentCaveatName

      public ExpCaveatParameter.Builder setParentCaveatName(String value)
      string parent_caveat_name = 3;
      Parameters:
      value - The parentCaveatName to set.
      Returns:
      This builder for chaining.
    • clearParentCaveatName

      public ExpCaveatParameter.Builder clearParentCaveatName()
      string parent_caveat_name = 3;
      Returns:
      This builder for chaining.
    • setParentCaveatNameBytes

      public ExpCaveatParameter.Builder setParentCaveatNameBytes(com.google.protobuf.ByteString value)
      string parent_caveat_name = 3;
      Parameters:
      value - The bytes for parentCaveatName to set.
      Returns:
      This builder for chaining.