Class 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 type google.cloud.aiplatform.v1beta1.Context
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • clear

        public Context.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • getDefaultInstanceForType

        public Context getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Context build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Context buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Context.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • setField

        public Context.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • clearField

        public Context.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • clearOneof

        public Context.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • addRepeatedField

        public Context.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • mergeFrom

        public Context.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Context.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
      • 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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
        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 interface ContextOrBuilder
      • getDescription

        public String getDescription()
         Description of the Context
         
        string description = 16;
        Specified by:
        getDescription in interface ContextOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Description of the Context
         
        string description = 16;
        Specified by:
        getDescriptionBytes in interface ContextOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>
      • mergeUnknownFields

        public final Context.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Context.Builder>