public final class IngestAssetRequest extends GeneratedMessage implements IngestAssetRequestOrBuilderRequest message for IngestAsset API.
Protobuf type google.cloud.visionai.v1.IngestAssetRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > IngestAssetRequestImplements
IngestAssetRequestOrBuilderStatic Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
TIME_INDEXED_DATA_FIELD_NUMBER
public static final int TIME_INDEXED_DATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static IngestAssetRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static IngestAssetRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest.Builder |
|
newBuilder(IngestAssetRequest prototype)
public static IngestAssetRequest.Builder newBuilder(IngestAssetRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
IngestAssetRequest |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static IngestAssetRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static IngestAssetRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static IngestAssetRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static IngestAssetRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static IngestAssetRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static IngestAssetRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestAssetRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<IngestAssetRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<IngestAssetRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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 |
|
getParserForType()
public Parser<IngestAssetRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<IngestAssetRequest> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public IngestAssetRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected IngestAssetRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest.Builder |
|
toBuilder()
public IngestAssetRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
IngestAssetRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|