Class SeriesMetadata.Builder (0.1.0)

public static final class SeriesMetadata.Builder extends GeneratedMessageV3.Builder<SeriesMetadata.Builder> implements SeriesMetadataOrBuilder

The message that represents series metadata.

Protobuf type google.cloud.visionai.v1.SeriesMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SeriesMetadata build()
Returns
Type Description
SeriesMetadata

buildPartial()

public SeriesMetadata buildPartial()
Returns
Type Description
SeriesMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSeries()

public SeriesMetadata.Builder clearSeries()

Series name. It's in the format of "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".

string series = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
SeriesMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SeriesMetadata getDefaultInstanceForType()
Returns
Type Description
SeriesMetadata

getDescriptorForType()

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

getSeries()

public String getSeries()

Series name. It's in the format of "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".

string series = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The series.

getSeriesBytes()

public ByteString getSeriesBytes()

Series name. It's in the format of "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".

string series = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for series.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SeriesMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSeries(String value)

public SeriesMetadata.Builder setSeries(String value)

Series name. It's in the format of "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".

string series = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The series to set.

Returns
Type Description
SeriesMetadata.Builder

This builder for chaining.

setSeriesBytes(ByteString value)

public SeriesMetadata.Builder setSeriesBytes(ByteString value)

Series name. It's in the format of "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".

string series = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for series to set.

Returns
Type Description
SeriesMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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