Package inference

Class GrpcPredictV2.InferParameter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
inference.GrpcPredictV2.InferParameter
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GrpcPredictV2.InferParameterOrBuilder, Serializable
Enclosing class:
GrpcPredictV2

public static final class GrpcPredictV2.InferParameter extends com.google.protobuf.GeneratedMessageV3 implements GrpcPredictV2.InferParameterOrBuilder
 An inference parameter value. The Parameters message describes a 
 “name”/”value” pair, where the “name” is the name of the parameter
 and the “value” is a boolean, integer, or string corresponding to 
 the parameter.
 
Protobuf type inference.InferParameter
See Also:
  • Field Details

    • BOOL_PARAM_FIELD_NUMBER

      public static final int BOOL_PARAM_FIELD_NUMBER
      See Also:
    • INT64_PARAM_FIELD_NUMBER

      public static final int INT64_PARAM_FIELD_NUMBER
      See Also:
    • STRING_PARAM_FIELD_NUMBER

      public static final int STRING_PARAM_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getParameterChoiceCase

      public GrpcPredictV2.InferParameter.ParameterChoiceCase getParameterChoiceCase()
      Specified by:
      getParameterChoiceCase in interface GrpcPredictV2.InferParameterOrBuilder
    • hasBoolParam

      public boolean hasBoolParam()
       A boolean parameter value.
       
      bool bool_param = 1;
      Specified by:
      hasBoolParam in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      Whether the boolParam field is set.
    • getBoolParam

      public boolean getBoolParam()
       A boolean parameter value.
       
      bool bool_param = 1;
      Specified by:
      getBoolParam in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      The boolParam.
    • hasInt64Param

      public boolean hasInt64Param()
       An int64 parameter value.
       
      int64 int64_param = 2;
      Specified by:
      hasInt64Param in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      Whether the int64Param field is set.
    • getInt64Param

      public long getInt64Param()
       An int64 parameter value.
       
      int64 int64_param = 2;
      Specified by:
      getInt64Param in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      The int64Param.
    • hasStringParam

      public boolean hasStringParam()
       A string parameter value.
       
      string string_param = 3;
      Specified by:
      hasStringParam in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      Whether the stringParam field is set.
    • getStringParam

      public String getStringParam()
       A string parameter value.
       
      string string_param = 3;
      Specified by:
      getStringParam in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      The stringParam.
    • getStringParamBytes

      public com.google.protobuf.ByteString getStringParamBytes()
       A string parameter value.
       
      string string_param = 3;
      Specified by:
      getStringParamBytes in interface GrpcPredictV2.InferParameterOrBuilder
      Returns:
      The bytes for stringParam.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GrpcPredictV2.InferParameter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GrpcPredictV2.InferParameter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GrpcPredictV2.InferParameter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GrpcPredictV2.InferParameter.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GrpcPredictV2.InferParameter.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GrpcPredictV2.InferParameter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static GrpcPredictV2.InferParameter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GrpcPredictV2.InferParameter> parser()
    • getParserForType

      public com.google.protobuf.Parser<GrpcPredictV2.InferParameter> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public GrpcPredictV2.InferParameter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder