Class Context.Builder (3.7.0)

public static final class Context.Builder extends GeneratedMessageV3.Builder<Context.Builder> implements ContextOrBuilder

Instance of a general context.

Protobuf type google.cloud.aiplatform.v1.Context

Implements

ContextOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllParentContexts(Iterable<String> values)

public Context.Builder addAllParentContexts(Iterable<String> values)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valuesIterable<String>

The parentContexts to add.

Returns
TypeDescription
Context.Builder

This builder for chaining.

addParentContexts(String value)

public Context.Builder addParentContexts(String value)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parentContexts to add.

Returns
TypeDescription
Context.Builder

This builder for chaining.

addParentContextsBytes(ByteString value)

public Context.Builder addParentContextsBytes(ByteString value)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes of the parentContexts to add.

Returns
TypeDescription
Context.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Context.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Context.Builder
Overrides

build()

public Context build()
Returns
TypeDescription
Context

buildPartial()

public Context buildPartial()
Returns
TypeDescription
Context

clear()

public Context.Builder clear()
Returns
TypeDescription
Context.Builder
Overrides

clearCreateTime()

public Context.Builder clearCreateTime()

Output only. Timestamp when this Context was created.

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

Returns
TypeDescription
Context.Builder

clearDescription()

public Context.Builder clearDescription()

Description of the Context

string description = 16;

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearDisplayName()

public Context.Builder clearDisplayName()

User provided display name of the Context. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearEtag()

public Context.Builder clearEtag()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 8;

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Context.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Context.Builder
Overrides

clearLabels()

public Context.Builder clearLabels()
Returns
TypeDescription
Context.Builder

clearMetadata()

public Context.Builder clearMetadata()

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Returns
TypeDescription
Context.Builder

clearName()

public Context.Builder clearName()

Output only. The resource name of the Context.

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

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Context.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Context.Builder
Overrides

clearParentContexts()

public Context.Builder clearParentContexts()

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearSchemaTitle()

public Context.Builder clearSchemaTitle()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 13;

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearSchemaVersion()

public Context.Builder clearSchemaVersion()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 14;

Returns
TypeDescription
Context.Builder

This builder for chaining.

clearUpdateTime()

public Context.Builder clearUpdateTime()

Output only. Timestamp when this Context was last updated.

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

Returns
TypeDescription
Context.Builder

clone()

public Context.Builder clone()
Returns
TypeDescription
Context.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this Context was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this Context was created.

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

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this Context was created.

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

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Context getDefaultInstanceForType()
Returns
TypeDescription
Context

getDescription()

public String getDescription()

Description of the Context

string description = 16;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Context

string description = 16;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

User provided display name of the Context. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

User provided display name of the Context. May be up to 128 Unicode characters.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getEtag()

public String getEtag()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 8;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 8;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMetadata()

public Struct getMetadata()

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Returns
TypeDescription
Struct

The metadata.

getMetadataBuilder()

public Struct.Builder getMetadataBuilder()

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Returns
TypeDescription
Builder

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Returns
TypeDescription
StructOrBuilder

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Output only. The resource name of the Context.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the Context.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParentContexts(int index)

public String getParentContexts(int index)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The parentContexts at the given index.

getParentContextsBytes(int index)

public ByteString getParentContextsBytes(int index)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the parentContexts at the given index.

getParentContextsCount()

public int getParentContextsCount()

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
int

The count of parentContexts.

getParentContextsList()

public ProtocolStringList getParentContextsList()

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProtocolStringList

A list containing the parentContexts.

getSchemaTitle()

public String getSchemaTitle()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 13;

Returns
TypeDescription
String

The schemaTitle.

getSchemaTitleBytes()

public ByteString getSchemaTitleBytes()

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 13;

Returns
TypeDescription
ByteString

The bytes for schemaTitle.

getSchemaVersion()

public String getSchemaVersion()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 14;

Returns
TypeDescription
String

The schemaVersion.

getSchemaVersionBytes()

public ByteString getSchemaVersionBytes()

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 14;

Returns
TypeDescription
ByteString

The bytes for schemaVersion.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this Context was last updated.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this Context was last updated.

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

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this Context was last updated.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this Context was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasMetadata()

public boolean hasMetadata()

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when this Context was last updated.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Context.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this Context was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Context.Builder

mergeFrom(Context other)

public Context.Builder mergeFrom(Context other)
Parameter
NameDescription
otherContext
Returns
TypeDescription
Context.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Context.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Context.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Context.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Context.Builder
Overrides

mergeMetadata(Struct value)

public Context.Builder mergeMetadata(Struct value)

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Context.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Context.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Context.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Context.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this Context was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Context.Builder

putAllLabels(Map<String,String> values)

public Context.Builder putAllLabels(Map<String,String> values)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Context.Builder

putLabels(String key, String value)

public Context.Builder putLabels(String key, String value)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Context.Builder

removeLabels(String key)

public Context.Builder removeLabels(String key)

The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).

map<string, string> labels = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
Context.Builder

setCreateTime(Timestamp value)

public Context.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this Context was created.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Context.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Context.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Context was created.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Context.Builder

setDescription(String value)

public Context.Builder setDescription(String value)

Description of the Context

string description = 16;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Context.Builder setDescriptionBytes(ByteString value)

Description of the Context

string description = 16;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setDisplayName(String value)

public Context.Builder setDisplayName(String value)

User provided display name of the Context. May be up to 128 Unicode characters.

string display_name = 2;

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Context.Builder setDisplayNameBytes(ByteString value)

User provided display name of the Context. May be up to 128 Unicode characters.

string display_name = 2;

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setEtag(String value)

public Context.Builder setEtag(String value)

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 8;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public Context.Builder setEtagBytes(ByteString value)

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 8;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Context.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Context.Builder
Overrides

setMetadata(Struct value)

public Context.Builder setMetadata(Struct value)

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
Context.Builder

setMetadata(Struct.Builder builderForValue)

public Context.Builder setMetadata(Struct.Builder builderForValue)

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

.google.protobuf.Struct metadata = 15;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Context.Builder

setName(String value)

public Context.Builder setName(String value)

Output only. The resource name of the Context.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Context.Builder setNameBytes(ByteString value)

Output only. The resource name of the Context.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setParentContexts(int index, String value)

public Context.Builder setParentContexts(int index, String value)

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The parentContexts to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

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

public Context.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Context.Builder
Overrides

setSchemaTitle(String value)

public Context.Builder setSchemaTitle(String value)

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 13;

Parameter
NameDescription
valueString

The schemaTitle to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setSchemaTitleBytes(ByteString value)

public Context.Builder setSchemaTitleBytes(ByteString value)

The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_title = 13;

Parameter
NameDescription
valueByteString

The bytes for schemaTitle to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setSchemaVersion(String value)

public Context.Builder setSchemaVersion(String value)

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 14;

Parameter
NameDescription
valueString

The schemaVersion to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setSchemaVersionBytes(ByteString value)

public Context.Builder setSchemaVersionBytes(ByteString value)

The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.

string schema_version = 14;

Parameter
NameDescription
valueByteString

The bytes for schemaVersion to set.

Returns
TypeDescription
Context.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Context.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Context.Builder
Overrides

setUpdateTime(Timestamp value)

public Context.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this Context was last updated.

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

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Context.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Context.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this Context was last updated.

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

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Context.Builder