Class StreamingAutomlClassificationConfig.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingAutomlClassificationConfig build()
Returns
TypeDescription
StreamingAutomlClassificationConfig

buildPartial()

public StreamingAutomlClassificationConfig buildPartial()
Returns
TypeDescription
StreamingAutomlClassificationConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

public StreamingAutomlClassificationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
StreamingAutomlClassificationConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StreamingAutomlClassificationConfig getDefaultInstanceForType()
Returns
TypeDescription
StreamingAutomlClassificationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingAutomlClassificationConfig other)

public StreamingAutomlClassificationConfig.Builder mergeFrom(StreamingAutomlClassificationConfig other)
Parameter
NameDescription
otherStreamingAutomlClassificationConfig
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingAutomlClassificationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The modelName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for modelName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingAutomlClassificationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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