Class StructStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
com.google.cloud.automl.v1beta1.StructStats.Builder
All Implemented Interfaces:
StructStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StructStats

public static final class StructStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder> implements StructStatsOrBuilder
 The data statistics of a series of STRUCT values.
 
Protobuf type google.cloud.automl.v1beta1.StructStats
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    boolean
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Deprecated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.
    Map from a field name of the struct to data stats aggregated over series of all data in that field across all the structs.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • clear

      public StructStats.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • getDefaultInstanceForType

      public StructStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public StructStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StructStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StructStats.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructStats.Builder>
    • mergeFrom

      public StructStats.Builder mergeFrom(StructStats other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StructStats.Builder>
    • mergeFrom

      public StructStats.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StructStats.Builder>
      Throws:
      IOException
    • getFieldStatsCount

      public int getFieldStatsCount()
      Description copied from interface: StructStatsOrBuilder
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
      Specified by:
      getFieldStatsCount in interface StructStatsOrBuilder
    • containsFieldStats

      public boolean containsFieldStats(String key)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
      Specified by:
      containsFieldStats in interface StructStatsOrBuilder
    • getFieldStats

      @Deprecated public Map<String,DataStats> getFieldStats()
      Deprecated.
      Use getFieldStatsMap() instead.
      Specified by:
      getFieldStats in interface StructStatsOrBuilder
    • getFieldStatsMap

      public Map<String,DataStats> getFieldStatsMap()
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
      Specified by:
      getFieldStatsMap in interface StructStatsOrBuilder
    • getFieldStatsOrDefault

      public DataStats getFieldStatsOrDefault(String key, DataStats defaultValue)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
      Specified by:
      getFieldStatsOrDefault in interface StructStatsOrBuilder
    • getFieldStatsOrThrow

      public DataStats getFieldStatsOrThrow(String key)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
      Specified by:
      getFieldStatsOrThrow in interface StructStatsOrBuilder
    • clearFieldStats

      public StructStats.Builder clearFieldStats()
    • removeFieldStats

      public StructStats.Builder removeFieldStats(String key)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
    • getMutableFieldStats

      @Deprecated public Map<String,DataStats> getMutableFieldStats()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFieldStats

      public StructStats.Builder putFieldStats(String key, DataStats value)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
    • putAllFieldStats

      public StructStats.Builder putAllFieldStats(Map<String,DataStats> values)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
    • putFieldStatsBuilderIfAbsent

      public DataStats.Builder putFieldStatsBuilderIfAbsent(String key)
       Map from a field name of the struct to data stats aggregated over series
       of all data in that field across all the structs.
       
      map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;