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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn inference parameter value.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanA boolean parameter value.static GrpcPredictV2.InferParameterstatic final com.google.protobuf.Descriptors.DescriptorlongAn int64 parameter value.com.google.protobuf.Parser<GrpcPredictV2.InferParameter> intA string parameter value.com.google.protobuf.ByteStringA string parameter value.booleanA boolean parameter value.inthashCode()booleanAn int64 parameter value.booleanA string parameter value.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GrpcPredictV2.InferParameter prototype) protected GrpcPredictV2.InferParameter.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GrpcPredictV2.InferParameterparseDelimitedFrom(InputStream input) static GrpcPredictV2.InferParameterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcPredictV2.InferParameterparseFrom(byte[] data) static GrpcPredictV2.InferParameterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcPredictV2.InferParameterparseFrom(com.google.protobuf.ByteString data) static GrpcPredictV2.InferParameterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcPredictV2.InferParameterparseFrom(com.google.protobuf.CodedInputStream input) static GrpcPredictV2.InferParameterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcPredictV2.InferParameterparseFrom(InputStream input) static GrpcPredictV2.InferParameterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GrpcPredictV2.InferParameterparseFrom(ByteBuffer data) static GrpcPredictV2.InferParameterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GrpcPredictV2.InferParameter> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getParameterChoiceCase
- Specified by:
getParameterChoiceCasein interfaceGrpcPredictV2.InferParameterOrBuilder
-
hasBoolParam
public boolean hasBoolParam()A boolean parameter value.
bool bool_param = 1;- Specified by:
hasBoolParamin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- Whether the boolParam field is set.
-
getBoolParam
public boolean getBoolParam()A boolean parameter value.
bool bool_param = 1;- Specified by:
getBoolParamin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- The boolParam.
-
hasInt64Param
public boolean hasInt64Param()An int64 parameter value.
int64 int64_param = 2;- Specified by:
hasInt64Paramin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- Whether the int64Param field is set.
-
getInt64Param
public long getInt64Param()An int64 parameter value.
int64 int64_param = 2;- Specified by:
getInt64Paramin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- The int64Param.
-
hasStringParam
public boolean hasStringParam()A string parameter value.
string string_param = 3;- Specified by:
hasStringParamin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- Whether the stringParam field is set.
-
getStringParam
A string parameter value.
string string_param = 3;- Specified by:
getStringParamin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- The stringParam.
-
getStringParamBytes
public com.google.protobuf.ByteString getStringParamBytes()A string parameter value.
string string_param = 3;- Specified by:
getStringParamBytesin interfaceGrpcPredictV2.InferParameterOrBuilder- Returns:
- The bytes for stringParam.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static GrpcPredictV2.InferParameter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static GrpcPredictV2.InferParameter.Builder newBuilder(GrpcPredictV2.InferParameter prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GrpcPredictV2.InferParameter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-