Class StreamingAutomlClassificationConfig (2.4.0)

public final class StreamingAutomlClassificationConfig extends GeneratedMessageV3 implements StreamingAutomlClassificationConfigOrBuilder

Config for STREAMING_AUTOML_CLASSIFICATION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingAutomlClassificationConfig

Static Fields

MODEL_NAME_FIELD_NUMBER

public static final int MODEL_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingAutomlClassificationConfig getDefaultInstance()
Returns
TypeDescription
StreamingAutomlClassificationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StreamingAutomlClassificationConfig.Builder newBuilder()
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder

newBuilder(StreamingAutomlClassificationConfig prototype)

public static StreamingAutomlClassificationConfig.Builder newBuilder(StreamingAutomlClassificationConfig prototype)
Parameter
NameDescription
prototypeStreamingAutomlClassificationConfig
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder

parseDelimitedFrom(InputStream input)

public static StreamingAutomlClassificationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StreamingAutomlClassificationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StreamingAutomlClassificationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StreamingAutomlClassificationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StreamingAutomlClassificationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StreamingAutomlClassificationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StreamingAutomlClassificationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlClassificationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StreamingAutomlClassificationConfig> parser()
Returns
TypeDescription
Parser<StreamingAutomlClassificationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StreamingAutomlClassificationConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingAutomlClassificationConfig

getModelName()

public String getModelName()

Resource name of AutoML model. Format: projects/{project_number}/locations/{location_id}/models/{model_id}

string model_name = 1;

Returns
TypeDescription
String

The modelName.

getModelNameBytes()

public ByteString getModelNameBytes()

Resource name of AutoML model. Format: projects/{project_number}/locations/{location_id}/models/{model_id}

string model_name = 1;

Returns
TypeDescription
ByteString

The bytes for modelName.

getParserForType()

public Parser<StreamingAutomlClassificationConfig> getParserForType()
Returns
TypeDescription
Parser<StreamingAutomlClassificationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StreamingAutomlClassificationConfig.Builder newBuilderForType()
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StreamingAutomlClassificationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StreamingAutomlClassificationConfig.Builder toBuilder()
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException