All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencensus.proto.trace.v1.TruncatableStringOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: opencensus/proto/trace/v1/trace.proto

package io.opencensus.proto.trace.v1;

public interface TruncatableStringOrBuilder extends
    // @@protoc_insertion_point(interface_extends:opencensus.proto.trace.v1.TruncatableString)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The shortened string. For example, if the original string was 500 bytes long and
   * the limit of the string was 128 bytes, then this value contains the first 128
   * bytes of the 500-byte string. Note that truncation always happens on a
   * character boundary, to ensure that a truncated string is still valid UTF-8.
   * Because it may contain multi-byte characters, the size of the truncated string
   * may be less than the truncation limit.
   * 
* * string value = 1; * @return The value. */ java.lang.String getValue(); /** *
   * The shortened string. For example, if the original string was 500 bytes long and
   * the limit of the string was 128 bytes, then this value contains the first 128
   * bytes of the 500-byte string. Note that truncation always happens on a
   * character boundary, to ensure that a truncated string is still valid UTF-8.
   * Because it may contain multi-byte characters, the size of the truncated string
   * may be less than the truncation limit.
   * 
* * string value = 1; * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); /** *
   * The number of bytes removed from the original string. If this
   * value is 0, then the string was not shortened.
   * 
* * int32 truncated_byte_count = 2; * @return The truncatedByteCount. */ int getTruncatedByteCount(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy