public static final class IngestAssetRequest.Config.Builder extends GeneratedMessageV3.Builder<IngestAssetRequest.Config.Builder> implements IngestAssetRequest.ConfigOrBuilder
Configuration for the data.
Protobuf type google.cloud.visionai.v1.IngestAssetRequest.Config
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IngestAssetRequest.Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public IngestAssetRequest.Config build()
buildPartial()
public IngestAssetRequest.Config buildPartial()
clear()
public IngestAssetRequest.Config.Builder clear()
Overrides
clearAsset()
public IngestAssetRequest.Config.Builder clearAsset()
Required. The resource name of the asset that the ingested data belongs
to.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearDataType()
public IngestAssetRequest.Config.Builder clearDataType()
clearField(Descriptors.FieldDescriptor field)
public IngestAssetRequest.Config.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public IngestAssetRequest.Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVideoType()
public IngestAssetRequest.Config.Builder clearVideoType()
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
clone()
public IngestAssetRequest.Config.Builder clone()
Overrides
getAsset()
Required. The resource name of the asset that the ingested data belongs
to.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The asset.
|
getAssetBytes()
public ByteString getAssetBytes()
Required. The resource name of the asset that the ingested data belongs
to.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for asset.
|
getDataTypeCase()
public IngestAssetRequest.Config.DataTypeCase getDataTypeCase()
getDefaultInstanceForType()
public IngestAssetRequest.Config getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getVideoType()
public IngestAssetRequest.Config.VideoType getVideoType()
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
getVideoTypeBuilder()
public IngestAssetRequest.Config.VideoType.Builder getVideoTypeBuilder()
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
getVideoTypeOrBuilder()
public IngestAssetRequest.Config.VideoTypeOrBuilder getVideoTypeOrBuilder()
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
hasVideoType()
public boolean hasVideoType()
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
Returns |
Type |
Description |
boolean |
Whether the videoType field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(IngestAssetRequest.Config other)
public IngestAssetRequest.Config.Builder mergeFrom(IngestAssetRequest.Config other)
public IngestAssetRequest.Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public IngestAssetRequest.Config.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IngestAssetRequest.Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeVideoType(IngestAssetRequest.Config.VideoType value)
public IngestAssetRequest.Config.Builder mergeVideoType(IngestAssetRequest.Config.VideoType value)
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
setAsset(String value)
public IngestAssetRequest.Config.Builder setAsset(String value)
Required. The resource name of the asset that the ingested data belongs
to.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The asset to set.
|
setAssetBytes(ByteString value)
public IngestAssetRequest.Config.Builder setAssetBytes(ByteString value)
Required. The resource name of the asset that the ingested data belongs
to.
string asset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for asset to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public IngestAssetRequest.Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IngestAssetRequest.Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final IngestAssetRequest.Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVideoType(IngestAssetRequest.Config.VideoType value)
public IngestAssetRequest.Config.Builder setVideoType(IngestAssetRequest.Config.VideoType value)
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;
setVideoType(IngestAssetRequest.Config.VideoType.Builder builderForValue)
public IngestAssetRequest.Config.Builder setVideoType(IngestAssetRequest.Config.VideoType.Builder builderForValue)
Type information for video data.
.google.cloud.visionai.v1.IngestAssetRequest.Config.VideoType video_type = 2;