Class StreamingAutomlObjectTrackingConfig.Builder (2.22.0)

public static final class StreamingAutomlObjectTrackingConfig.Builder extends GeneratedMessageV3.Builder<StreamingAutomlObjectTrackingConfig.Builder> implements StreamingAutomlObjectTrackingConfigOrBuilder

Config for STREAMING_AUTOML_OBJECT_TRACKING.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingAutomlObjectTrackingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingAutomlObjectTrackingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

build()

public StreamingAutomlObjectTrackingConfig build()
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig

buildPartial()

public StreamingAutomlObjectTrackingConfig buildPartial()
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig

clear()

public StreamingAutomlObjectTrackingConfig.Builder clear()
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StreamingAutomlObjectTrackingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

clearModelName()

public StreamingAutomlObjectTrackingConfig.Builder clearModelName()

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

string model_name = 1;

Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingAutomlObjectTrackingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

clone()

public StreamingAutomlObjectTrackingConfig.Builder clone()
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

getDefaultInstanceForType()

public StreamingAutomlObjectTrackingConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getModelName()

public String getModelName()

Resource name of AutoML model. Format: projects/{project_id}/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_id}/locations/{location_id}/models/{model_id}

string model_name = 1;

Returns
TypeDescription
ByteString

The bytes for modelName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingAutomlObjectTrackingConfig other)

public StreamingAutomlObjectTrackingConfig.Builder mergeFrom(StreamingAutomlObjectTrackingConfig other)
Parameter
NameDescription
otherStreamingAutomlObjectTrackingConfig
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingAutomlObjectTrackingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingAutomlObjectTrackingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingAutomlObjectTrackingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingAutomlObjectTrackingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

setModelName(String value)

public StreamingAutomlObjectTrackingConfig.Builder setModelName(String value)

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

string model_name = 1;

Parameter
NameDescription
valueString

The modelName to set.

Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder

This builder for chaining.

setModelNameBytes(ByteString value)

public StreamingAutomlObjectTrackingConfig.Builder setModelNameBytes(ByteString value)

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

string model_name = 1;

Parameter
NameDescription
valueByteString

The bytes for modelName to set.

Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder

This builder for chaining.

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

public StreamingAutomlObjectTrackingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingAutomlObjectTrackingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingAutomlObjectTrackingConfig.Builder
Overrides