Interface OptimizeToursValidationError.FieldReferenceOrBuilder

    • Method Detail

      • getName

        String getName()
         Name of the field, e.g., "vehicles".
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the field, e.g., "vehicles".
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasIndex

        boolean hasIndex()
         Index of the field if repeated.
         
        int32 index = 2;
        Returns:
        Whether the index field is set.
      • getIndex

        int getIndex()
         Index of the field if repeated.
         
        int32 index = 2;
        Returns:
        The index.
      • hasKey

        boolean hasKey()
         Key if the field is a map.
         
        string key = 4;
        Returns:
        Whether the key field is set.
      • getKey

        String getKey()
         Key if the field is a map.
         
        string key = 4;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         Key if the field is a map.
         
        string key = 4;
        Returns:
        The bytes for key.
      • hasSubField

        boolean hasSubField()
         Recursively nested sub-field, if needed.
         
        .google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
        Returns:
        Whether the subField field is set.
      • getSubField

        OptimizeToursValidationError.FieldReference getSubField()
         Recursively nested sub-field, if needed.
         
        .google.cloud.optimization.v1.OptimizeToursValidationError.FieldReference sub_field = 3;
        Returns:
        The subField.