Class MediaWarehouseConfig (0.14.1)

public final class MediaWarehouseConfig extends GeneratedMessageV3 implements MediaWarehouseConfigOrBuilder

Message describing MediaWarehouseConfig.

Protobuf type google.events.cloud.visionai.v1.MediaWarehouseConfig

Static Fields

CORPUS_FIELD_NUMBER

public static final int CORPUS_FIELD_NUMBER
Field Value
TypeDescription
int

REGION_FIELD_NUMBER

public static final int REGION_FIELD_NUMBER
Field Value
TypeDescription
int

TTL_FIELD_NUMBER

public static final int TTL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MediaWarehouseConfig getDefaultInstance()
Returns
TypeDescription
MediaWarehouseConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MediaWarehouseConfig.Builder newBuilder()
Returns
TypeDescription
MediaWarehouseConfig.Builder

newBuilder(MediaWarehouseConfig prototype)

public static MediaWarehouseConfig.Builder newBuilder(MediaWarehouseConfig prototype)
Parameter
NameDescription
prototypeMediaWarehouseConfig
Returns
TypeDescription
MediaWarehouseConfig.Builder

parseDelimitedFrom(InputStream input)

public static MediaWarehouseConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MediaWarehouseConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MediaWarehouseConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MediaWarehouseConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MediaWarehouseConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MediaWarehouseConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MediaWarehouseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MediaWarehouseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MediaWarehouseConfig> parser()
Returns
TypeDescription
Parser<MediaWarehouseConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for corpus.

getDefaultInstanceForType()

public MediaWarehouseConfig getDefaultInstanceForType()
Returns
TypeDescription
MediaWarehouseConfig

getParserForType()

public Parser<MediaWarehouseConfig> getParserForType()
Returns
TypeDescription
Parser<MediaWarehouseConfig>
Overrides

getRegion()

public String getRegion()

Deprecated.

string region = 2;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Deprecated.

string region = 2;

Returns
TypeDescription
ByteString

The bytes for region.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTtl()

public boolean hasTtl()

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

.google.protobuf.Duration ttl = 3;

Returns
TypeDescription
boolean

Whether the ttl field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MediaWarehouseConfig.Builder newBuilderForType()
Returns
TypeDescription
MediaWarehouseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MediaWarehouseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MediaWarehouseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MediaWarehouseConfig.Builder toBuilder()
Returns
TypeDescription
MediaWarehouseConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException