Interface StructTypeOrBuilder

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

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

    Modifier and Type
    Method
    Description
    boolean
    Unordered map of struct field names to their data types.
    Deprecated.
    int
    Unordered map of struct field names to their data types.
    Unordered map of struct field names to their data types.
    getFieldsOrDefault(String key, DataType defaultValue)
    Unordered map of struct field names to their data types.
    Unordered map of struct field names to their data types.

    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

    • getFieldsCount

      int getFieldsCount()
       Unordered map of struct field names to their data types.
       Fields cannot be added or removed via Update. Their names and
       data types are still mutable.
       
      map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
    • containsFields

      boolean containsFields(String key)
       Unordered map of struct field names to their data types.
       Fields cannot be added or removed via Update. Their names and
       data types are still mutable.
       
      map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
    • getFields

      Deprecated.
      Use getFieldsMap() instead.
    • getFieldsMap

      Map<String,DataType> getFieldsMap()
       Unordered map of struct field names to their data types.
       Fields cannot be added or removed via Update. Their names and
       data types are still mutable.
       
      map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
    • getFieldsOrDefault

      DataType getFieldsOrDefault(String key, DataType defaultValue)
       Unordered map of struct field names to their data types.
       Fields cannot be added or removed via Update. Their names and
       data types are still mutable.
       
      map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;
    • getFieldsOrThrow

      DataType getFieldsOrThrow(String key)
       Unordered map of struct field names to their data types.
       Fields cannot be added or removed via Update. Their names and
       data types are still mutable.
       
      map<string, .google.cloud.automl.v1beta1.DataType> fields = 1;