Package com.google.cloud.aiplatform.v1
Class Context.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
- com.google.cloud.aiplatform.v1.Context.Builder
-
- All Implemented Interfaces:
ContextOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Context
public static final class Context.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder> implements ContextOrBuilder
Instance of a general context.
Protobuf typegoogle.cloud.aiplatform.v1.Context
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Context.BuilderaddAllParentContexts(Iterable<String> values)Output only.Context.BuilderaddParentContexts(String value)Output only.Context.BuilderaddParentContextsBytes(com.google.protobuf.ByteString value)Output only.Context.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Contextbuild()ContextbuildPartial()Context.Builderclear()Context.BuilderclearCreateTime()Output only.Context.BuilderclearDescription()Description of the ContextContext.BuilderclearDisplayName()User provided display name of the Context.Context.BuilderclearEtag()An eTag used to perform consistent read-modify-write updates.Context.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Context.BuilderclearLabels()Context.BuilderclearMetadata()Properties of the Context.Context.BuilderclearName()Immutable.Context.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Context.BuilderclearParentContexts()Output only.Context.BuilderclearSchemaTitle()The title of the schema describing the metadata.Context.BuilderclearSchemaVersion()The version of the schema in schema_name to use.Context.BuilderclearUpdateTime()Output only.Context.Builderclone()booleancontainsLabels(String key)The labels with user-defined metadata to organize your Contexts.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ContextgetDefaultInstanceForType()StringgetDescription()Description of the Contextcom.google.protobuf.ByteStringgetDescriptionBytes()Description of the Contextstatic com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()User provided display name of the Context.com.google.protobuf.ByteStringgetDisplayNameBytes()User provided display name of the Context.StringgetEtag()An eTag used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringgetEtagBytes()An eTag used to perform consistent read-modify-write updates.Map<String,String>getLabels()Deprecated.intgetLabelsCount()The labels with user-defined metadata to organize your Contexts.Map<String,String>getLabelsMap()The labels with user-defined metadata to organize your Contexts.StringgetLabelsOrDefault(String key, String defaultValue)The labels with user-defined metadata to organize your Contexts.StringgetLabelsOrThrow(String key)The labels with user-defined metadata to organize your Contexts.com.google.protobuf.StructgetMetadata()Properties of the Context.com.google.protobuf.Struct.BuildergetMetadataBuilder()Properties of the Context.com.google.protobuf.StructOrBuildergetMetadataOrBuilder()Properties of the Context.Map<String,String>getMutableLabels()Deprecated.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.StringgetParentContexts(int index)Output only.com.google.protobuf.ByteStringgetParentContextsBytes(int index)Output only.intgetParentContextsCount()Output only.com.google.protobuf.ProtocolStringListgetParentContextsList()Output only.StringgetSchemaTitle()The title of the schema describing the metadata.com.google.protobuf.ByteStringgetSchemaTitleBytes()The title of the schema describing the metadata.StringgetSchemaVersion()The version of the schema in schema_name to use.com.google.protobuf.ByteStringgetSchemaVersionBytes()The version of the schema in schema_name to use.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasMetadata()Properties of the Context.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Context.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Context.BuildermergeFrom(Context other)Context.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Context.BuildermergeFrom(com.google.protobuf.Message other)Context.BuildermergeMetadata(com.google.protobuf.Struct value)Properties of the Context.Context.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Context.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Context.BuilderputAllLabels(Map<String,String> values)The labels with user-defined metadata to organize your Contexts.Context.BuilderputLabels(String key, String value)The labels with user-defined metadata to organize your Contexts.Context.BuilderremoveLabels(String key)The labels with user-defined metadata to organize your Contexts.Context.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Context.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Context.BuildersetDescription(String value)Description of the ContextContext.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the ContextContext.BuildersetDisplayName(String value)User provided display name of the Context.Context.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)User provided display name of the Context.Context.BuildersetEtag(String value)An eTag used to perform consistent read-modify-write updates.Context.BuildersetEtagBytes(com.google.protobuf.ByteString value)An eTag used to perform consistent read-modify-write updates.Context.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Context.BuildersetMetadata(com.google.protobuf.Struct value)Properties of the Context.Context.BuildersetMetadata(com.google.protobuf.Struct.Builder builderForValue)Properties of the Context.Context.BuildersetName(String value)Immutable.Context.BuildersetNameBytes(com.google.protobuf.ByteString value)Immutable.Context.BuildersetParentContexts(int index, String value)Output only.Context.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Context.BuildersetSchemaTitle(String value)The title of the schema describing the metadata.Context.BuildersetSchemaTitleBytes(com.google.protobuf.ByteString value)The title of the schema describing the metadata.Context.BuildersetSchemaVersion(String value)The version of the schema in schema_name to use.Context.BuildersetSchemaVersionBytes(com.google.protobuf.ByteString value)The version of the schema in schema_name to use.Context.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Context.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Context.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clear
public Context.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
getDefaultInstanceForType
public Context getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Context build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Context buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Context.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
setField
public Context.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clearField
public Context.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clearOneof
public Context.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
setRepeatedField
public Context.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
addRepeatedField
public Context.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
mergeFrom
public Context.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Context.Builder>
-
mergeFrom
public Context.Builder mergeFrom(Context other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
mergeFrom
public Context.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Context.Builder>- Throws:
IOException
-
getName
public String getName()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfaceContextOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceContextOrBuilder- Returns:
- The bytes for name.
-
setName
public Context.Builder setName(String value)
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Context.Builder clearName()
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
public Context.Builder setNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the Context.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;- Specified by:
getDisplayNamein interfaceContextOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceContextOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public Context.Builder setDisplayName(String value)
User provided display name of the Context. May be up to 128 Unicode characters.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- 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:
- This builder for chaining.
-
setDisplayNameBytes
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;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getEtagin interfaceContextOrBuilder- Returns:
- The etag.
-
getEtagBytes
public 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;- Specified by:
getEtagBytesin interfaceContextOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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;- Parameters:
value- The etag to set.- Returns:
- 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:
- This builder for chaining.
-
setEtagBytes
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;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface: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;- Specified by:
getLabelsCountin interfaceContextOrBuilder
-
containsLabels
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;- Specified by:
containsLabelsin interfaceContextOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceContextOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceContextOrBuilder
-
getLabelsOrDefault
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;- Specified by:
getLabelsOrDefaultin interfaceContextOrBuilder
-
getLabelsOrThrow
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;- Specified by:
getLabelsOrThrowin interfaceContextOrBuilder
-
clearLabels
public Context.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this Context was created.
.google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceContextOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceContextOrBuilder- Returns:
- The createTime.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
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];
-
getCreateTimeBuilder
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];
-
getCreateTimeOrBuilder
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];- Specified by:
getCreateTimeOrBuilderin interfaceContextOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceContextOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceContextOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
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];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfaceContextOrBuilder
-
getParentContextsList
public 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) = { ... }- Specified by:
getParentContextsListin interfaceContextOrBuilder- Returns:
- A list containing the parentContexts.
-
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) = { ... }- Specified by:
getParentContextsCountin interfaceContextOrBuilder- Returns:
- The count of parentContexts.
-
getParentContexts
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) = { ... }- Specified by:
getParentContextsin interfaceContextOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The parentContexts at the given index.
-
getParentContextsBytes
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) = { ... }- Specified by:
getParentContextsBytesin interfaceContextOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the parentContexts at the given index.
-
setParentContexts
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:
index- The index to set the value at.value- The parentContexts to set.- Returns:
- This builder for chaining.
-
addParentContexts
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) = { ... }- Parameters:
value- The parentContexts to add.- Returns:
- This builder for chaining.
-
addAllParentContexts
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) = { ... }- Parameters:
values- The parentContexts to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addParentContextsBytes
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) = { ... }- Parameters:
value- The bytes of the parentContexts to add.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSchemaTitlein interfaceContextOrBuilder- Returns:
- The schemaTitle.
-
getSchemaTitleBytes
public 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;- Specified by:
getSchemaTitleBytesin interfaceContextOrBuilder- Returns:
- The bytes for schemaTitle.
-
setSchemaTitle
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;- Parameters:
value- The schemaTitle to set.- Returns:
- 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:
- This builder for chaining.
-
setSchemaTitleBytes
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;- Parameters:
value- The bytes for schemaTitle to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSchemaVersionin interfaceContextOrBuilder- Returns:
- The schemaVersion.
-
getSchemaVersionBytes
public 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;- Specified by:
getSchemaVersionBytesin interfaceContextOrBuilder- Returns:
- The bytes for schemaVersion.
-
setSchemaVersion
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;- Parameters:
value- The schemaVersion to set.- Returns:
- 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:
- This builder for chaining.
-
setSchemaVersionBytes
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;- Parameters:
value- The bytes for schemaVersion to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasMetadatain interfaceContextOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public 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;- Specified by:
getMetadatain interfaceContextOrBuilder- Returns:
- The metadata.
-
setMetadata
public 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;
-
setMetadata
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;
-
mergeMetadata
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;
-
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;
-
getMetadataBuilder
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;
-
getMetadataOrBuilder
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;- Specified by:
getMetadataOrBuilderin interfaceContextOrBuilder
-
getDescription
public String getDescription()
Description of the Context
string description = 16;- Specified by:
getDescriptionin interfaceContextOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the Context
string description = 16;- Specified by:
getDescriptionBytesin interfaceContextOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Context.Builder setDescription(String value)
Description of the Context
string description = 16;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Context.Builder clearDescription()
Description of the Context
string description = 16;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Context.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the Context
string description = 16;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Context.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
mergeUnknownFields
public final Context.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
-