Class ExampleStore.Builder (3.64.0)

public static final class ExampleStore.Builder extends GeneratedMessageV3.Builder.Builder> implements ExampleStoreOrBuilder

Represents an executable service to manage and retrieve examples.

Protobuf type google.cloud.aiplatform.v1beta1.ExampleStore

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExampleStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExampleStore.Builder
Overrides

build()

public ExampleStore build()
Returns
Type Description
ExampleStore

buildPartial()

public ExampleStore buildPartial()
Returns
Type Description
ExampleStore

clear()

public ExampleStore.Builder clear()
Returns
Type Description
ExampleStore.Builder
Overrides

clearCreateTime()

public ExampleStore.Builder clearCreateTime()

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExampleStore.Builder

clearDescription()

public ExampleStore.Builder clearDescription()

Optional. Description of the ExampleStore.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

clearDisplayName()

public ExampleStore.Builder clearDisplayName()

Required. Display name of the ExampleStore.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

clearExampleStoreConfig()

public ExampleStore.Builder clearExampleStoreConfig()

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleStore.Builder

clearField(Descriptors.FieldDescriptor field)

public ExampleStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExampleStore.Builder
Overrides

clearName()

public ExampleStore.Builder clearName()

Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ExampleStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExampleStore.Builder
Overrides

clearUpdateTime()

public ExampleStore.Builder clearUpdateTime()

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ExampleStore.Builder

clone()

public ExampleStore.Builder clone()
Returns
Type Description
ExampleStore.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ExampleStore getDefaultInstanceForType()
Returns
Type Description
ExampleStore

getDescription()

public String getDescription()

Optional. Description of the ExampleStore.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the ExampleStore.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. Display name of the ExampleStore.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. Display name of the ExampleStore.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getExampleStoreConfig()

public ExampleStoreConfig getExampleStoreConfig()

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleStoreConfig

The exampleStoreConfig.

getExampleStoreConfigBuilder()

public ExampleStoreConfig.Builder getExampleStoreConfigBuilder()

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleStoreConfig.Builder

getExampleStoreConfigOrBuilder()

public ExampleStoreConfigOrBuilder getExampleStoreConfigOrBuilder()

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExampleStoreConfigOrBuilder

getName()

public String getName()

Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasExampleStoreConfig()

public boolean hasExampleStoreConfig()

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the exampleStoreConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ExampleStore.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExampleStore.Builder

mergeExampleStoreConfig(ExampleStoreConfig value)

public ExampleStore.Builder mergeExampleStoreConfig(ExampleStoreConfig value)

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExampleStoreConfig
Returns
Type Description
ExampleStore.Builder

mergeFrom(ExampleStore other)

public ExampleStore.Builder mergeFrom(ExampleStore other)
Parameter
Name Description
other ExampleStore
Returns
Type Description
ExampleStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExampleStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExampleStore.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExampleStore.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExampleStore.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExampleStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExampleStore.Builder
Overrides

mergeUpdateTime(Timestamp value)

public ExampleStore.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExampleStore.Builder

setCreateTime(Timestamp value)

public ExampleStore.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExampleStore.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ExampleStore.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this ExampleStore was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExampleStore.Builder

setDescription(String value)

public ExampleStore.Builder setDescription(String value)

Optional. Description of the ExampleStore.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ExampleStore.Builder setDescriptionBytes(ByteString value)

Optional. Description of the ExampleStore.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setDisplayName(String value)

public ExampleStore.Builder setDisplayName(String value)

Required. Display name of the ExampleStore.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ExampleStore.Builder setDisplayNameBytes(ByteString value)

Required. Display name of the ExampleStore.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setExampleStoreConfig(ExampleStoreConfig value)

public ExampleStore.Builder setExampleStoreConfig(ExampleStoreConfig value)

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExampleStoreConfig
Returns
Type Description
ExampleStore.Builder

setExampleStoreConfig(ExampleStoreConfig.Builder builderForValue)

public ExampleStore.Builder setExampleStoreConfig(ExampleStoreConfig.Builder builderForValue)

Required. Example Store config.

.google.cloud.aiplatform.v1beta1.ExampleStoreConfig example_store_config = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ExampleStoreConfig.Builder
Returns
Type Description
ExampleStore.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ExampleStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExampleStore.Builder
Overrides

setName(String value)

public ExampleStore.Builder setName(String value)

Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExampleStore.Builder setNameBytes(ByteString value)

Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExampleStore.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExampleStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExampleStore.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExampleStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExampleStore.Builder
Overrides

setUpdateTime(Timestamp value)

public ExampleStore.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ExampleStore.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ExampleStore.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this ExampleStore was most recently updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ExampleStore.Builder