类 MetadataOuterClass.Metadata.Builder

    • 字段详细资料

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
      • createTime_

        private com.google.protobuf.Timestamp createTime_
      • createTimeBuilder_

        private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,​com.google.protobuf.Timestamp.Builder,​com.google.protobuf.TimestampOrBuilder> createTimeBuilder_
      • version_

        private java.lang.Object version_
      • labels_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> labels_
      • annotations_

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> annotations_
    • 构造器详细资料

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
    • 方法详细资料

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        覆盖:
        internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        覆盖:
        internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
        指定者:
        getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • getDefaultInstanceForType

        public MetadataOuterClass.Metadata getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
      • build

        public MetadataOuterClass.Metadata build()
        指定者:
        build 在接口中 com.google.protobuf.Message.Builder
        指定者:
        build 在接口中 com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MetadataOuterClass.Metadata buildPartial()
        指定者:
        buildPartial 在接口中 com.google.protobuf.Message.Builder
        指定者:
        buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public MetadataOuterClass.Metadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        指定者:
        setRepeatedField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • addRepeatedField

        public MetadataOuterClass.Metadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        指定者:
        addRepeatedField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MetadataOuterClass.Metadata.Builder>
      • mergeFrom

        public MetadataOuterClass.Metadata.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        指定者:
        mergeFrom 在接口中 com.google.protobuf.Message.Builder
        指定者:
        mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
        覆盖:
        mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<MetadataOuterClass.Metadata.Builder>
        抛出:
        java.io.IOException
      • getName

        public java.lang.String getName()
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        指定者:
        getName 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        指定者:
        getNameBytes 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The bytes for name.
      • setName

        public MetadataOuterClass.Metadata.Builder setName​(java.lang.String value)
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        参数:
        value - The name to set.
        返回:
        This builder for chaining.
      • clearName

        public MetadataOuterClass.Metadata.Builder clearName()
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        返回:
        This builder for chaining.
      • setNameBytes

        public MetadataOuterClass.Metadata.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Fully qualified name of the resource. Unique in context of a collection.
         The fully qualified name consists of a directory and basename. The directory identifies
         the resources location in a resource hierarchy. The basename identifies the specific
         resource name within the context of that directory.
         The directory and basename are composed of one or more segments. Segments must be
         valid [DNS labels](https://tools.ietf.org/html/rfc1123). "/" is the delimiter between
         segments
         The rightmost segment is the basename. All segments to the
         left of the basename form the directory. Segments moving towards the left
         represent higher positions in the resource hierarchy, similar to reverse
         DNS notation. e.g.
            /<org>/<team>/<subteam>/<resource basename>
         An empty directory indicates a resource that is located at the root of the
         hierarchy, e.g.
            /<globally scoped resource>
         On Kubernetes the resource hierarchy is two-levels: namespaces and
         cluster-scoped (i.e. global).
         Namespace resources fully qualified name is of the form:
            "<k8s namespace>/<k8s resource name>"
         Cluster scoped resources are located at the root of the hierarchy and are of the form:
            "/<k8s resource name>"
         
        string name = 1;
        参数:
        value - The bytes for name to set.
        返回:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
        指定者:
        hasCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
        指定者:
        getCreateTime 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The createTime.
      • setCreateTime

        public MetadataOuterClass.Metadata.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
      • setCreateTime

        public MetadataOuterClass.Metadata.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
      • mergeCreateTime

        public MetadataOuterClass.Metadata.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
      • getCreateTimeFieldBuilder

        private com.google.protobuf.SingleFieldBuilderV3<com.google.protobuf.Timestamp,​com.google.protobuf.Timestamp.Builder,​com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder()
         The creation timestamp of the resource.
         
        .google.protobuf.Timestamp create_time = 2;
      • getVersion

        public java.lang.String getVersion()
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        指定者:
        getVersion 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        指定者:
        getVersionBytes 在接口中 MetadataOuterClass.MetadataOrBuilder
        返回:
        The bytes for version.
      • setVersion

        public MetadataOuterClass.Metadata.Builder setVersion​(java.lang.String value)
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        参数:
        value - The version to set.
        返回:
        This builder for chaining.
      • clearVersion

        public MetadataOuterClass.Metadata.Builder clearVersion()
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        返回:
        This builder for chaining.
      • setVersionBytes

        public MetadataOuterClass.Metadata.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Resource version. This is used to determine when resources change across
         resource updates. It should be treated as opaque by consumers/sinks.
         
        string version = 3;
        参数:
        value - The bytes for version to set.
        返回:
        This builder for chaining.
      • internalGetLabels

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetLabels()
      • internalGetMutableLabels

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetMutableLabels()
      • containsLabels

        public boolean containsLabels​(java.lang.String key)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        containsLabels 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsMap

        public java.util.Map<java.lang.String,​java.lang.String> getLabelsMap()
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsMap 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsOrDefault

        public java.lang.String getLabelsOrDefault​(java.lang.String key,
                                                   java.lang.String defaultValue)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsOrDefault 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getLabelsOrThrow

        public java.lang.String getLabelsOrThrow​(java.lang.String key)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
        指定者:
        getLabelsOrThrow 在接口中 MetadataOuterClass.MetadataOrBuilder
      • removeLabels

        public MetadataOuterClass.Metadata.Builder removeLabels​(java.lang.String key)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableLabels()
        已过时。
        Use alternate mutation accessors instead.
      • putLabels

        public MetadataOuterClass.Metadata.Builder putLabels​(java.lang.String key,
                                                             java.lang.String value)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
      • putAllLabels

        public MetadataOuterClass.Metadata.Builder putAllLabels​(java.util.Map<java.lang.String,​java.lang.String> values)
         Map of string keys and values that can be used to organize and categorize
         resources within a collection.
         
        map<string, string> labels = 4;
      • internalGetAnnotations

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetAnnotations()
      • internalGetMutableAnnotations

        private com.google.protobuf.MapField<java.lang.String,​java.lang.String> internalGetMutableAnnotations()
      • containsAnnotations

        public boolean containsAnnotations​(java.lang.String key)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        containsAnnotations 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsMap

        public java.util.Map<java.lang.String,​java.lang.String> getAnnotationsMap()
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsMap 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsOrDefault

        public java.lang.String getAnnotationsOrDefault​(java.lang.String key,
                                                        java.lang.String defaultValue)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsOrDefault 在接口中 MetadataOuterClass.MetadataOrBuilder
      • getAnnotationsOrThrow

        public java.lang.String getAnnotationsOrThrow​(java.lang.String key)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
        指定者:
        getAnnotationsOrThrow 在接口中 MetadataOuterClass.MetadataOrBuilder
      • removeAnnotations

        public MetadataOuterClass.Metadata.Builder removeAnnotations​(java.lang.String key)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
      • getMutableAnnotations

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableAnnotations()
        已过时。
        Use alternate mutation accessors instead.
      • putAnnotations

        public MetadataOuterClass.Metadata.Builder putAnnotations​(java.lang.String key,
                                                                  java.lang.String value)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;
      • putAllAnnotations

        public MetadataOuterClass.Metadata.Builder putAllAnnotations​(java.util.Map<java.lang.String,​java.lang.String> values)
         Map of string keys and values that can be used by source and sink to communicate
         arbitrary metadata about this resource.
         
        map<string, string> annotations = 5;