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.v1beta1.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.v1beta1.Context
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 ContextContext.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 Contextcom.google.protobuf.ByteString
getDescriptionBytes()
Description of the Contextstatic 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.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Context.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Context.Builder
mergeFrom(Context other)
Context.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
Output only.Context.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Context.Builder
setDescription(String value)
Description of the ContextContext.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the ContextContext.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 value)
Properties of the Context.Context.Builder
setMetadata(com.google.protobuf.Struct.Builder builderForValue)
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 value)
Output only.Context.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clear
public Context.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
getDefaultInstanceForType
public Context getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Context build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Context buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Context.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
setField
public Context.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clearField
public Context.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
clearOneof
public Context.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
setRepeatedField
public Context.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
addRepeatedField
public Context.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
mergeFrom
public Context.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Context.Builder>
-
mergeFrom
public Context.Builder mergeFrom(Context other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getEtag
in 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:
getEtagBytes
in 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:ContextOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceContextOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getParentContextsList
in 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:
getParentContextsCount
in 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:
getParentContexts
in 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:
getParentContextsBytes
in 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:
getSchemaTitle
in 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:
getSchemaTitleBytes
in 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:
getSchemaVersion
in 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:
getSchemaVersionBytes
in 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:
hasMetadata
in 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:
getMetadata
in 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:
getMetadataOrBuilder
in interfaceContextOrBuilder
-
getDescription
public String getDescription()
Description of the Context
string description = 16;
- Specified by:
getDescription
in interfaceContextOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the Context
string description = 16;
- Specified by:
getDescriptionBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
mergeUnknownFields
public final Context.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
-
-