Class IngestAssetRequest.TimeIndexedData.Builder (0.12.0)

public static final class IngestAssetRequest.TimeIndexedData.Builder extends GeneratedMessageV3.Builder<IngestAssetRequest.TimeIndexedData.Builder> implements IngestAssetRequest.TimeIndexedDataOrBuilder

Contains the data and the corresponding time range this data is for.

Protobuf type google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestAssetRequest.TimeIndexedData build()
Returns
Type Description
IngestAssetRequest.TimeIndexedData

buildPartial()

public IngestAssetRequest.TimeIndexedData buildPartial()
Returns
Type Description
IngestAssetRequest.TimeIndexedData

clear()

public IngestAssetRequest.TimeIndexedData.Builder clear()
Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder
Overrides

clearData()

public IngestAssetRequest.TimeIndexedData.Builder clearData()

Data to be ingested.

bytes data = 1;

Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTemporalPartition()

public IngestAssetRequest.TimeIndexedData.Builder clearTemporalPartition()

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

clone()

public IngestAssetRequest.TimeIndexedData.Builder clone()
Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder
Overrides

getData()

public ByteString getData()

Data to be ingested.

bytes data = 1;

Returns
Type Description
ByteString

The data.

getDefaultInstanceForType()

public IngestAssetRequest.TimeIndexedData getDefaultInstanceForType()
Returns
Type Description
IngestAssetRequest.TimeIndexedData

getDescriptorForType()

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

getTemporalPartition()

public Partition.TemporalPartition getTemporalPartition()

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Returns
Type Description
Partition.TemporalPartition

The temporalPartition.

getTemporalPartitionBuilder()

public Partition.TemporalPartition.Builder getTemporalPartitionBuilder()

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Returns
Type Description
Partition.TemporalPartition.Builder

getTemporalPartitionOrBuilder()

public Partition.TemporalPartitionOrBuilder getTemporalPartitionOrBuilder()

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Returns
Type Description
Partition.TemporalPartitionOrBuilder

hasTemporalPartition()

public boolean hasTemporalPartition()

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Returns
Type Description
boolean

Whether the temporalPartition field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IngestAssetRequest.TimeIndexedData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTemporalPartition(Partition.TemporalPartition value)

public IngestAssetRequest.TimeIndexedData.Builder mergeTemporalPartition(Partition.TemporalPartition value)

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setData(ByteString value)

public IngestAssetRequest.TimeIndexedData.Builder setData(ByteString value)

Data to be ingested.

bytes data = 1;

Parameter
Name Description
value ByteString

The data to set.

Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTemporalPartition(Partition.TemporalPartition value)

public IngestAssetRequest.TimeIndexedData.Builder setTemporalPartition(Partition.TemporalPartition value)

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Parameter
Name Description
value Partition.TemporalPartition
Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

public IngestAssetRequest.TimeIndexedData.Builder setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)

Time range of the data.

.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2;

Parameter
Name Description
builderForValue Partition.TemporalPartition.Builder
Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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