Interface DataItemOrBuilder

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

@Generated public interface DataItemOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Data provided in the form of bytes.
    Data provided in the form of bytes.
     
    Plaintext string data for sanitization.
    com.google.protobuf.ByteString
    Plaintext string data for sanitization.
    boolean
    Data provided in the form of bytes.
    boolean
    Plaintext string data for sanitization.

    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

    • hasText

      boolean hasText()
       Plaintext string data for sanitization.
       
      string text = 1;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       Plaintext string data for sanitization.
       
      string text = 1;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Plaintext string data for sanitization.
       
      string text = 1;
      Returns:
      The bytes for text.
    • hasByteItem

      boolean hasByteItem()
       Data provided in the form of bytes.
       
      .google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2;
      Returns:
      Whether the byteItem field is set.
    • getByteItem

      ByteDataItem getByteItem()
       Data provided in the form of bytes.
       
      .google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2;
      Returns:
      The byteItem.
    • getByteItemOrBuilder

      ByteDataItemOrBuilder getByteItemOrBuilder()
       Data provided in the form of bytes.
       
      .google.cloud.modelarmor.v1beta.ByteDataItem byte_item = 2;
    • getDataItemCase

      DataItem.DataItemCase getDataItemCase()