public static final class MediaWarehouseConfig.Builder extends GeneratedMessageV3.Builder<MediaWarehouseConfig.Builder> implements MediaWarehouseConfigOrBuilder
Message describing MediaWarehouseConfig.
Protobuf type google.events.cloud.visionai.v1.MediaWarehouseConfig
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public MediaWarehouseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MediaWarehouseConfig build()
public MediaWarehouseConfig buildPartial()
public MediaWarehouseConfig.Builder clear()
Overrides
public MediaWarehouseConfig.Builder clearCorpus()
Resource name of the Media Warehouse corpus.
Format:
projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
string corpus = 1;
public MediaWarehouseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MediaWarehouseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MediaWarehouseConfig.Builder clearRegion()
Deprecated.
string region = 2;
public MediaWarehouseConfig.Builder clearTtl()
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
public MediaWarehouseConfig.Builder clone()
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 Descriptors.Descriptor getDescriptorForType()
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.
|
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 Duration.Builder getTtlBuilder()
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
public DurationOrBuilder getTtlOrBuilder()
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MediaWarehouseConfig.Builder mergeFrom(MediaWarehouseConfig other)
public MediaWarehouseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MediaWarehouseConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public MediaWarehouseConfig.Builder mergeTtl(Duration value)
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
Parameter |
Name |
Description |
value |
Duration
|
public final MediaWarehouseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MediaWarehouseConfig.Builder setCorpus(String value)
Resource name of the Media Warehouse corpus.
Format:
projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
string corpus = 1;
Parameter |
Name |
Description |
value |
String
The corpus to set.
|
public MediaWarehouseConfig.Builder setCorpusBytes(ByteString value)
Resource name of the Media Warehouse corpus.
Format:
projects/${project_id}/locations/${location_id}/corpora/${corpus_id}
string corpus = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for corpus to set.
|
public MediaWarehouseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MediaWarehouseConfig.Builder setRegion(String value)
Deprecated.
string region = 2;
Parameter |
Name |
Description |
value |
String
The region to set.
|
public MediaWarehouseConfig.Builder setRegionBytes(ByteString value)
Deprecated.
string region = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for region to set.
|
public MediaWarehouseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public MediaWarehouseConfig.Builder setTtl(Duration value)
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
Parameter |
Name |
Description |
value |
Duration
|
public MediaWarehouseConfig.Builder setTtl(Duration.Builder builderForValue)
The duration for which all media assets, associated metadata, and search
documents can exist.
.google.protobuf.Duration ttl = 3;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public final MediaWarehouseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides