Interface StringDomainOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    StringDomain, StringDomain.Builder

    public interface StringDomainOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Id of the domain.
      com.google.protobuf.ByteString getNameBytes()
      Id of the domain.
      String getValue​(int index)
      The values appearing in the domain.
      com.google.protobuf.ByteString getValueBytes​(int index)
      The values appearing in the domain.
      int getValueCount()
      The values appearing in the domain.
      List<String> getValueList()
      The values appearing in the domain.
      boolean hasName()
      Id of the domain.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasName

        boolean hasName()
         Id of the domain. Required if the domain is defined at the schema level. If
         so, then the name must be unique within the schema.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Id of the domain. Required if the domain is defined at the schema level. If
         so, then the name must be unique within the schema.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Id of the domain. Required if the domain is defined at the schema level. If
         so, then the name must be unique within the schema.
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • getValueList

        List<String> getValueList()
         The values appearing in the domain.
         
        repeated string value = 2;
        Returns:
        A list containing the value.
      • getValueCount

        int getValueCount()
         The values appearing in the domain.
         
        repeated string value = 2;
        Returns:
        The count of value.
      • getValue

        String getValue​(int index)
         The values appearing in the domain.
         
        repeated string value = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The value at the given index.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes​(int index)
         The values appearing in the domain.
         
        repeated string value = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the value at the given index.