public static final class Context.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder> implements ContextOrBuilder
Instance of a general context.Protobuf type
google.cloud.aiplatform.v1beta1.Context| Modifier and Type | Method and Description |
|---|---|
Context.Builder |
addAllParentContexts(Iterable<String> values)
Output only.
|
Context.Builder |
addParentContexts(String value)
Output only.
|
Context.Builder |
addParentContextsBytes(com.google.protobuf.ByteString value)
Output only.
|
Context.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Context |
build() |
Context |
buildPartial() |
Context.Builder |
clear() |
Context.Builder |
clearCreateTime()
Output only.
|
Context.Builder |
clearDescription()
Description of the Context
string description = 16; |
Context.Builder |
clearDisplayName()
User provided display name of the Context.
|
Context.Builder |
clearEtag()
An eTag used to perform consistent read-modify-write updates.
|
Context.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Context.Builder |
clearLabels() |
Context.Builder |
clearMetadata()
Properties of the Context.
|
Context.Builder |
clearName()
Immutable.
|
Context.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Context.Builder |
clearParentContexts()
Output only.
|
Context.Builder |
clearSchemaTitle()
The title of the schema describing the metadata.
|
Context.Builder |
clearSchemaVersion()
The version of the schema in schema_name to use.
|
Context.Builder |
clearUpdateTime()
Output only.
|
Context.Builder |
clone() |
boolean |
containsLabels(String key)
The labels with user-defined metadata to organize your Contexts.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Context |
getDefaultInstanceForType() |
String |
getDescription()
Description of the Context
string description = 16; |
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the Context
string description = 16; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
User provided display name of the Context.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
User provided display name of the Context.
|
String |
getEtag()
An eTag used to perform consistent read-modify-write updates.
|
com.google.protobuf.ByteString |
getEtagBytes()
An eTag used to perform consistent read-modify-write updates.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels with user-defined metadata to organize your Contexts.
|
Map<String,String> |
getLabelsMap()
The labels with user-defined metadata to organize your Contexts.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels with user-defined metadata to organize your Contexts.
|
String |
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Contexts.
|
com.google.protobuf.Struct |
getMetadata()
Properties of the Context.
|
com.google.protobuf.Struct.Builder |
getMetadataBuilder()
Properties of the Context.
|
com.google.protobuf.StructOrBuilder |
getMetadataOrBuilder()
Properties of the Context.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
String |
getParentContexts(int index)
Output only.
|
com.google.protobuf.ByteString |
getParentContextsBytes(int index)
Output only.
|
int |
getParentContextsCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getParentContextsList()
Output only.
|
String |
getSchemaTitle()
The title of the schema describing the metadata.
|
com.google.protobuf.ByteString |
getSchemaTitleBytes()
The title of the schema describing the metadata.
|
String |
getSchemaVersion()
The version of the schema in schema_name to use.
|
com.google.protobuf.ByteString |
getSchemaVersionBytes()
The version of the schema in schema_name to use.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasMetadata()
Properties of the Context.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Context.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Context.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Context.Builder |
mergeFrom(Context other) |
Context.Builder |
mergeFrom(com.google.protobuf.Message other) |
Context.Builder |
mergeMetadata(com.google.protobuf.Struct value)
Properties of the Context.
|
Context.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Context.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Context.Builder |
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your Contexts.
|
Context.Builder |
putLabels(String key,
String value)
The labels with user-defined metadata to organize your Contexts.
|
Context.Builder |
removeLabels(String key)
The labels with user-defined metadata to organize your Contexts.
|
Context.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Context.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Context.Builder |
setDescription(String value)
Description of the Context
string description = 16; |
Context.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Context
string description = 16; |
Context.Builder |
setDisplayName(String value)
User provided display name of the Context.
|
Context.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
User provided display name of the Context.
|
Context.Builder |
setEtag(String value)
An eTag used to perform consistent read-modify-write updates.
|
Context.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
An eTag used to perform consistent read-modify-write updates.
|
Context.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Context.Builder |
setMetadata(com.google.protobuf.Struct.Builder builderForValue)
Properties of the Context.
|
Context.Builder |
setMetadata(com.google.protobuf.Struct value)
Properties of the Context.
|
Context.Builder |
setName(String value)
Immutable.
|
Context.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Immutable.
|
Context.Builder |
setParentContexts(int index,
String value)
Output only.
|
Context.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Context.Builder |
setSchemaTitle(String value)
The title of the schema describing the metadata.
|
Context.Builder |
setSchemaTitleBytes(com.google.protobuf.ByteString value)
The title of the schema describing the metadata.
|
Context.Builder |
setSchemaVersion(String value)
The version of the schema in schema_name to use.
|
Context.Builder |
setSchemaVersionBytes(com.google.protobuf.ByteString value)
The version of the schema in schema_name to use.
|
Context.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Context.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Context.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Context build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Context buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Context.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Context.Builder>public Context.Builder mergeFrom(Context other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public Context.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Context.Builder>IOExceptionpublic String getName()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface ContextOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface ContextOrBuilderpublic Context.Builder setName(String value)
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The name to set.public Context.Builder clearName()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];public Context.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];value - The bytes for name to set.public String getDisplayName()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;getDisplayName in interface ContextOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;getDisplayNameBytes in interface ContextOrBuilderpublic Context.Builder setDisplayName(String value)
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;value - The displayName to set.public Context.Builder clearDisplayName()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;public Context.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;value - The bytes for displayName to set.public String getEtag()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;getEtag in interface ContextOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;getEtagBytes in interface ContextOrBuilderpublic 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;value - The etag to set.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;public Context.Builder setEtagBytes(com.google.protobuf.ByteString value)
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 8;value - The bytes for etag to set.public int getLabelsCount()
ContextOrBuilderThe 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;getLabelsCount in interface ContextOrBuilderpublic 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;containsLabels in interface ContextOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ContextOrBuilderpublic 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;getLabelsMap in interface ContextOrBuilderpublic 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;getLabelsOrDefault in interface ContextOrBuilderpublic 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;getLabelsOrThrow in interface ContextOrBuilderpublic Context.Builder clearLabels()
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;@Deprecated public Map<String,String> getMutableLabels()
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;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;public boolean hasCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ContextOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface ContextOrBuilderpublic Context.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Context.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Context.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Context.Builder clearCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface ContextOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ContextOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface ContextOrBuilderpublic Context.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Context.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Context.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp when this Context was last updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface ContextOrBuilderpublic com.google.protobuf.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) = { ... }
getParentContextsList in interface ContextOrBuilderpublic 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) = { ... }
getParentContextsCount in interface ContextOrBuilderpublic 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) = { ... }
getParentContexts in interface ContextOrBuilderindex - The index of the element to return.public com.google.protobuf.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) = { ... }
getParentContextsBytes in interface ContextOrBuilderindex - The index of the value to return.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) = { ... }
index - The index to set the value at.value - The parentContexts to set.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) = { ... }
value - The parentContexts to add.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) = { ... }
values - The parentContexts to add.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) = { ... }
public Context.Builder addParentContextsBytes(com.google.protobuf.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) = { ... }
value - The bytes of the parentContexts to add.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;getSchemaTitle in interface ContextOrBuilderpublic com.google.protobuf.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;getSchemaTitleBytes in interface ContextOrBuilderpublic 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;value - The schemaTitle to set.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;public Context.Builder setSchemaTitleBytes(com.google.protobuf.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;value - The bytes for schemaTitle to set.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;getSchemaVersion in interface ContextOrBuilderpublic com.google.protobuf.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;getSchemaVersionBytes in interface ContextOrBuilderpublic 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;value - The schemaVersion to set.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;public Context.Builder setSchemaVersionBytes(com.google.protobuf.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;value - The bytes for schemaVersion to set.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;hasMetadata in interface ContextOrBuilderpublic com.google.protobuf.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;getMetadata in interface ContextOrBuilderpublic Context.Builder setMetadata(com.google.protobuf.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;public Context.Builder setMetadata(com.google.protobuf.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;public Context.Builder mergeMetadata(com.google.protobuf.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;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;public com.google.protobuf.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;public com.google.protobuf.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;getMetadataOrBuilder in interface ContextOrBuilderpublic String getDescription()
Description of the Context
string description = 16;getDescription in interface ContextOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the Context
string description = 16;getDescriptionBytes in interface ContextOrBuilderpublic Context.Builder setDescription(String value)
Description of the Context
string description = 16;value - The description to set.public Context.Builder clearDescription()
Description of the Context
string description = 16;public Context.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Context
string description = 16;value - The bytes for description to set.public final Context.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>public final Context.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>Copyright © 2024 Google LLC. All rights reserved.