Interface ByteDataItemOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Required.
    Required.
    int
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    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

    • getByteDataTypeValue

      int getByteDataTypeValue()
       Required. The type of byte data
       
      .google.cloud.modelarmor.v1beta.ByteDataItem.ByteItemType byte_data_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for byteDataType.
    • getByteDataType

      ByteDataItem.ByteItemType getByteDataType()
       Required. The type of byte data
       
      .google.cloud.modelarmor.v1beta.ByteDataItem.ByteItemType byte_data_type = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The byteDataType.
    • getByteData

      com.google.protobuf.ByteString getByteData()
       Required. Bytes Data
       
      bytes byte_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The byteData.
    • getFileLabel

      String getFileLabel()
       Optional. Label of the file. This is used to identify the file in the
       response.
       
      string file_label = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The fileLabel.
    • getFileLabelBytes

      com.google.protobuf.ByteString getFileLabelBytes()
       Optional. Label of the file. This is used to identify the file in the
       response.
       
      string file_label = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for fileLabel.