Class MediaWarehouseConfig (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class MediaWarehouseConfig extends GeneratedMessageV3 implements MediaWarehouseConfigOrBuilder
Message describing MediaWarehouseConfig.
Protobuf type google.events.cloud.visionai.v1.MediaWarehouseConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CORPUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int REGION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int TTL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static MediaWarehouseConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MediaWarehouseConfig.Builder newBuilder()
public static MediaWarehouseConfig.Builder newBuilder(MediaWarehouseConfig prototype)
public static MediaWarehouseConfig parseDelimitedFrom(InputStream input)
public static MediaWarehouseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaWarehouseConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static MediaWarehouseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MediaWarehouseConfig parseFrom(ByteString data)
public static MediaWarehouseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MediaWarehouseConfig parseFrom(CodedInputStream input)
public static MediaWarehouseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaWarehouseConfig parseFrom(InputStream input)
public static MediaWarehouseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MediaWarehouseConfig parseFrom(ByteBuffer data)
public static MediaWarehouseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MediaWarehouseConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getCorpus()
Resource name of the Media Warehouse corpus.
Format:
projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
string corpus = 1;
| Returns |
| Type |
Description |
String |
The corpus.
|
public ByteString getCorpusBytes()
Resource name of the Media Warehouse corpus.
Format:
projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
string corpus = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for corpus.
|
public MediaWarehouseConfig getDefaultInstanceForType()
public Parser<MediaWarehouseConfig> getParserForType()
Overrides
public String getRegion()
Deprecated.
string region = 2;
| Returns |
| Type |
Description |
String |
The region.
|
public ByteString getRegionBytes()
Deprecated.
string region = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for region.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
| Returns |
| Type |
Description |
Duration |
The ttl.
|
public DurationOrBuilder getTtlOrBuilder()
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
public final UnknownFieldSet getUnknownFields()
Overrides
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
| Returns |
| Type |
Description |
boolean |
Whether the ttl field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MediaWarehouseConfig.Builder newBuilderForType()
protected MediaWarehouseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
public MediaWarehouseConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]