Class StreamingAutomlActionRecognitionConfig.Builder (2.40.0)

public static final class StreamingAutomlActionRecognitionConfig.Builder extends GeneratedMessageV3.Builder<StreamingAutomlActionRecognitionConfig.Builder> implements StreamingAutomlActionRecognitionConfigOrBuilder

Config for STREAMING_AUTOML_ACTION_RECOGNITION.

Protobuf type google.cloud.videointelligence.v1p3beta1.StreamingAutomlActionRecognitionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingAutomlActionRecognitionConfig build()
Returns
TypeDescription
StreamingAutomlActionRecognitionConfig

buildPartial()

public StreamingAutomlActionRecognitionConfig buildPartial()
Returns
TypeDescription
StreamingAutomlActionRecognitionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearModelName()

public StreamingAutomlActionRecognitionConfig.Builder clearModelName()

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

string model_name = 1;

Returns
TypeDescription
StreamingAutomlActionRecognitionConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StreamingAutomlActionRecognitionConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingAutomlActionRecognitionConfig

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(StreamingAutomlActionRecognitionConfig other)

public StreamingAutomlActionRecognitionConfig.Builder mergeFrom(StreamingAutomlActionRecognitionConfig other)
Parameter
NameDescription
otherStreamingAutomlActionRecognitionConfig
Returns
TypeDescription
StreamingAutomlActionRecognitionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setModelName(String value)

public StreamingAutomlActionRecognitionConfig.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
StreamingAutomlActionRecognitionConfig.Builder

This builder for chaining.

setModelNameBytes(ByteString value)

public StreamingAutomlActionRecognitionConfig.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
StreamingAutomlActionRecognitionConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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