Interface Assessments.Expectation.SerializedValueOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getSerializationFormat()
      Marks the serialization format for the expectation value.
      com.google.protobuf.ByteString getSerializationFormatBytes()
      Marks the serialization format for the expectation value.
      java.lang.String getValue()
      The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
      com.google.protobuf.ByteString getValueBytes()
      The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
      boolean hasSerializationFormat()
      Marks the serialization format for the expectation value.
      boolean hasValue()
      The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
      • 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

      • hasSerializationFormat

        boolean hasSerializationFormat()
         Marks the serialization format for the expectation value. This is a contract specific to the client. The service
         will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
         
        optional string serialization_format = 1;
        Returns:
        Whether the serializationFormat field is set.
      • getSerializationFormat

        java.lang.String getSerializationFormat()
         Marks the serialization format for the expectation value. This is a contract specific to the client. The service
         will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
         
        optional string serialization_format = 1;
        Returns:
        The serializationFormat.
      • getSerializationFormatBytes

        com.google.protobuf.ByteString getSerializationFormatBytes()
         Marks the serialization format for the expectation value. This is a contract specific to the client. The service
         will not attempt to deserialize the value or validate the format. An example format is "JSON_FORMAT".
         
        optional string serialization_format = 1;
        Returns:
        The bytes for serializationFormat.
      • hasValue

        boolean hasValue()
         The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
         
        optional string value = 2;
        Returns:
        Whether the value field is set.
      • getValue

        java.lang.String getValue()
         The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
         
        optional string value = 2;
        Returns:
        The value.
      • getValueBytes

        com.google.protobuf.ByteString getValueBytes()
         The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
         
        optional string value = 2;
        Returns:
        The bytes for value.