Class Context.Builder (3.55.0)

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

Instance of a general context.

Protobuf type google.cloud.aiplatform.v1beta1.Context

Implements

ContextOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<String>

The parentContexts to add.

Returns
Type Description
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
Name Description
value String

The parentContexts to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the parentContexts to add.

Returns
Type Description
Context.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Context build()
Returns
Type Description
Context

buildPartial()

public Context buildPartial()
Returns
Type Description
Context

clear()

public Context.Builder clear()
Returns
Type Description
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
Type Description
Context.Builder

clearDescription()

public Context.Builder clearDescription()

Description of the Context

string description = 16;

Returns
Type Description
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
Type Description
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
Type Description
Context.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLabels()

public Context.Builder clearLabels()
Returns
Type Description
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
Type Description
Context.Builder

clearName()

public Context.Builder clearName()

Immutable. The resource name of the Context.

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

Returns
Type Description
Context.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Context.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Context.Builder

clone()

public Context.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Context getDefaultInstanceForType()
Returns
Type Description
Context

getDescription()

public String getDescription()

Description of the Context

string description = 16;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description of the Context

string description = 16;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for etag.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
StructOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Immutable. The resource name of the Context.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the Context.

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Context.Builder

mergeFrom(Context other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Context.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Struct
Returns
Type Description
Context.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Context.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
values Map<String,String>
Returns
Type Description
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
Name Description
key String
value String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Context.Builder

setDescription(String value)

public Context.Builder setDescription(String value)

Description of the Context

string description = 16;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Context.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Context.Builder setDescriptionBytes(ByteString value)

Description of the Context

string description = 16;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
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
Name Description
value String

The displayName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
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
Name Description
value String

The etag to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
Context.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Context.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Struct
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Context.Builder

setName(String value)

public Context.Builder setName(String value)

Immutable. The resource name of the Context.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Context.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Context.Builder setNameBytes(ByteString value)

Immutable. The resource name of the Context.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The parentContexts to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The schemaTitle to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for schemaTitle to set.

Returns
Type Description
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
Name Description
value String

The schemaVersion to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for schemaVersion to set.

Returns
Type Description
Context.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Context.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Context.Builder