Class MediaWarehouseConfig (0.4.0)

public final class MediaWarehouseConfig extends GeneratedMessageV3 implements MediaWarehouseConfigOrBuilder

Message describing MediaWarehouseConfig.

Protobuf type google.cloud.visionai.v1.MediaWarehouseConfig

Static Fields

CORPUS_FIELD_NUMBER

public static final int CORPUS_FIELD_NUMBER
Field Value
Type Description
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
Type Description
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MediaWarehouseConfig getDefaultInstance()
Returns
Type Description
MediaWarehouseConfig

getDescriptor()

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

newBuilder()

public static MediaWarehouseConfig.Builder newBuilder()
Returns
Type Description
MediaWarehouseConfig.Builder

newBuilder(MediaWarehouseConfig prototype)

public static MediaWarehouseConfig.Builder newBuilder(MediaWarehouseConfig prototype)
Parameter
Name Description
prototype MediaWarehouseConfig
Returns
Type Description
MediaWarehouseConfig.Builder

parseDelimitedFrom(InputStream input)

public static MediaWarehouseConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MediaWarehouseConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MediaWarehouseConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MediaWarehouseConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MediaWarehouseConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MediaWarehouseConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MediaWarehouseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MediaWarehouseConfig> parser()
Returns
Type Description
Parser<MediaWarehouseConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCorpus()

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.

getCorpusBytes()

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.

getDefaultInstanceForType()

public MediaWarehouseConfig getDefaultInstanceForType()
Returns
Type Description
MediaWarehouseConfig

getParserForType()

public Parser<MediaWarehouseConfig> getParserForType()
Returns
Type Description
Parser<MediaWarehouseConfig>
Overrides

getRegion() (deprecated)

public String getRegion()

Deprecated. google.cloud.visionai.v1.MediaWarehouseConfig.region is deprecated. See google/cloud/visionai/v1/platform.proto;l=2056

Deprecated.

string region = 2 [deprecated = true];

Returns
Type Description
String

The region.

getRegionBytes() (deprecated)

public ByteString getRegionBytes()

Deprecated. google.cloud.visionai.v1.MediaWarehouseConfig.region is deprecated. See google/cloud/visionai/v1/platform.proto;l=2056

Deprecated.

string region = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTtl()

public Duration getTtl()

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.

getTtlOrBuilder()

public DurationOrBuilder getTtlOrBuilder()

The duration for which all media assets, associated metadata, and search documents can exist.

.google.protobuf.Duration ttl = 3;

Returns
Type Description
DurationOrBuilder

hasTtl()

public boolean hasTtl()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MediaWarehouseConfig.Builder newBuilderForType()
Returns
Type Description
MediaWarehouseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MediaWarehouseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MediaWarehouseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MediaWarehouseConfig.Builder toBuilder()
Returns
Type Description
MediaWarehouseConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException