Class StreamingAutomlClassificationConfig.Builder (2.50.0)

public static final class StreamingAutomlClassificationConfig.Builder extends GeneratedMessageV3.Builder<StreamingAutomlClassificationConfig.Builder> implements StreamingAutomlClassificationConfigOrBuilder

Config for STREAMING_AUTOML_CLASSIFICATION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingAutomlClassificationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingAutomlClassificationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

build()

public StreamingAutomlClassificationConfig build()
Returns
Type Description
StreamingAutomlClassificationConfig

buildPartial()

public StreamingAutomlClassificationConfig buildPartial()
Returns
Type Description
StreamingAutomlClassificationConfig

clear()

public StreamingAutomlClassificationConfig.Builder clear()
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StreamingAutomlClassificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

clearModelName()

public StreamingAutomlClassificationConfig.Builder clearModelName()

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

string model_name = 1;

Returns
Type Description
StreamingAutomlClassificationConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingAutomlClassificationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

clone()

public StreamingAutomlClassificationConfig.Builder clone()
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

getDefaultInstanceForType()

public StreamingAutomlClassificationConfig getDefaultInstanceForType()
Returns
Type Description
StreamingAutomlClassificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getModelName()

public String getModelName()

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

string model_name = 1;

Returns
Type Description
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
Type Description
ByteString

The bytes for modelName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamingAutomlClassificationConfig other)

public StreamingAutomlClassificationConfig.Builder mergeFrom(StreamingAutomlClassificationConfig other)
Parameter
Name Description
other StreamingAutomlClassificationConfig
Returns
Type Description
StreamingAutomlClassificationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingAutomlClassificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingAutomlClassificationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingAutomlClassificationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingAutomlClassificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

setModelName(String value)

public StreamingAutomlClassificationConfig.Builder setModelName(String value)

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

string model_name = 1;

Parameter
Name Description
value String

The modelName to set.

Returns
Type Description
StreamingAutomlClassificationConfig.Builder

This builder for chaining.

setModelNameBytes(ByteString value)

public StreamingAutomlClassificationConfig.Builder setModelNameBytes(ByteString value)

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

string model_name = 1;

Parameter
Name Description
value ByteString

The bytes for modelName to set.

Returns
Type Description
StreamingAutomlClassificationConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingAutomlClassificationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingAutomlClassificationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingAutomlClassificationConfig.Builder
Overrides