Interface Assessments.Expectation.SerializedValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Assessments.Expectation.SerializedValue, Assessments.Expectation.SerializedValue.Builder
Enclosing class:
Assessments.Expectation

public static interface Assessments.Expectation.SerializedValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Marks the serialization format for the expectation value.
    com.google.protobuf.ByteString
    Marks the serialization format for the expectation value.
    The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
    com.google.protobuf.ByteString
    The value of the expectation-based assessment serialized as a string in the format defined by ``serialization_format``.
    boolean
    Marks the serialization format for the expectation value.
    boolean
    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 Details

    • 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

      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

      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.