Class IngestAssetRequest.Builder (0.6.0)

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

Request message for IngestAsset API.

Protobuf type google.cloud.visionai.v1.IngestAssetRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestAssetRequest build()
Returns
Type Description
IngestAssetRequest

buildPartial()

public IngestAssetRequest buildPartial()
Returns
Type Description
IngestAssetRequest

clear()

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

clearConfig()

public IngestAssetRequest.Builder clearConfig()

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Returns
Type Description
IngestAssetRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStreamingRequest()

public IngestAssetRequest.Builder clearStreamingRequest()
Returns
Type Description
IngestAssetRequest.Builder

clearTimeIndexedData()

public IngestAssetRequest.Builder clearTimeIndexedData()

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

Returns
Type Description
IngestAssetRequest.Builder

clone()

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

getConfig()

public IngestAssetRequest.Config getConfig()

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Returns
Type Description
IngestAssetRequest.Config

The config.

getConfigBuilder()

public IngestAssetRequest.Config.Builder getConfigBuilder()

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Returns
Type Description
IngestAssetRequest.Config.Builder

getConfigOrBuilder()

public IngestAssetRequest.ConfigOrBuilder getConfigOrBuilder()

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Returns
Type Description
IngestAssetRequest.ConfigOrBuilder

getDefaultInstanceForType()

public IngestAssetRequest getDefaultInstanceForType()
Returns
Type Description
IngestAssetRequest

getDescriptorForType()

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

getStreamingRequestCase()

public IngestAssetRequest.StreamingRequestCase getStreamingRequestCase()
Returns
Type Description
IngestAssetRequest.StreamingRequestCase

getTimeIndexedData()

public IngestAssetRequest.TimeIndexedData getTimeIndexedData()

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

Returns
Type Description
IngestAssetRequest.TimeIndexedData

The timeIndexedData.

getTimeIndexedDataBuilder()

public IngestAssetRequest.TimeIndexedData.Builder getTimeIndexedDataBuilder()

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

Returns
Type Description
IngestAssetRequest.TimeIndexedData.Builder

getTimeIndexedDataOrBuilder()

public IngestAssetRequest.TimeIndexedDataOrBuilder getTimeIndexedDataOrBuilder()

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

Returns
Type Description
IngestAssetRequest.TimeIndexedDataOrBuilder

hasConfig()

public boolean hasConfig()

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Returns
Type Description
boolean

Whether the config field is set.

hasTimeIndexedData()

public boolean hasTimeIndexedData()

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

Returns
Type Description
boolean

Whether the timeIndexedData field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(IngestAssetRequest.Config value)

public IngestAssetRequest.Builder mergeConfig(IngestAssetRequest.Config value)

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Parameter
Name Description
value IngestAssetRequest.Config
Returns
Type Description
IngestAssetRequest.Builder

mergeFrom(IngestAssetRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeIndexedData(IngestAssetRequest.TimeIndexedData value)

public IngestAssetRequest.Builder mergeTimeIndexedData(IngestAssetRequest.TimeIndexedData value)

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConfig(IngestAssetRequest.Config value)

public IngestAssetRequest.Builder setConfig(IngestAssetRequest.Config value)

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Parameter
Name Description
value IngestAssetRequest.Config
Returns
Type Description
IngestAssetRequest.Builder

setConfig(IngestAssetRequest.Config.Builder builderForValue)

public IngestAssetRequest.Builder setConfig(IngestAssetRequest.Config.Builder builderForValue)

Provides information for the data and the asset resource name that the data belongs to. The first IngestAssetRequest message must only contain a Config message.

.google.cloud.visionai.v1.IngestAssetRequest.Config config = 1;

Parameter
Name Description
builderForValue IngestAssetRequest.Config.Builder
Returns
Type Description
IngestAssetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimeIndexedData(IngestAssetRequest.TimeIndexedData value)

public IngestAssetRequest.Builder setTimeIndexedData(IngestAssetRequest.TimeIndexedData value)

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

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

setTimeIndexedData(IngestAssetRequest.TimeIndexedData.Builder builderForValue)

public IngestAssetRequest.Builder setTimeIndexedData(IngestAssetRequest.TimeIndexedData.Builder builderForValue)

Data to be ingested.

.google.cloud.visionai.v1.IngestAssetRequest.TimeIndexedData time_indexed_data = 2;

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

setUnknownFields(UnknownFieldSet unknownFields)

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