类 WorkloadGroupOuterClass.WorkloadGroup

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkloadGroupOuterClass.WorkloadGroupOrBuilder, java.io.Serializable
    封闭类:
    WorkloadGroupOuterClass

    public static final class WorkloadGroupOuterClass.WorkloadGroup
    extends com.google.protobuf.GeneratedMessageV3
    implements WorkloadGroupOuterClass.WorkloadGroupOrBuilder
     `WorkloadGroup` enables specifying the properties of a single workload for bootstrap and
     provides a template for `WorkloadEntry`, similar to how `Deployment` specifies properties
     of workloads via `Pod` templates. A `WorkloadGroup` can have more than one `WorkloadEntry`.
     `WorkloadGroup` has no relationship to resources which control service registry like `ServiceEntry` 
     and as such doesn't configure host name for these workloads.
     <!-- crd generation tags
     +cue-gen:WorkloadGroup:groupName:networking.istio.io
     +cue-gen:WorkloadGroup:version:v1alpha3
     +cue-gen:WorkloadGroup:storageVersion
     +cue-gen:WorkloadGroup:subresource:status
     +cue-gen:WorkloadGroup:scope:Namespaced
     +cue-gen:WorkloadGroup:resource:categories=istio-io,networking-istio-io,shortNames=wg,plural=workloadgroups
     +cue-gen:WorkloadGroup:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp
     representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations.
     Clients may not set this value. It is represented in RFC3339 form and is in UTC.
     Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata"
     +cue-gen:WorkloadGroup:preserveUnknownFields:false
     -->
     <!-- go code generation tags
     +kubetype-gen
     +kubetype-gen:groupVersion=networking.istio.io/v1alpha3
     +genclient
     +k8s:deepcopy-gen=true
     -->
     
    Protobuf type istio.networking.v1alpha3.WorkloadGroup
    另请参阅:
    序列化表格
    • 构造器详细资料

      • WorkloadGroup

        private WorkloadGroup​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • WorkloadGroup

        private WorkloadGroup()
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • hasMetadata

        public boolean hasMetadata()
         Metadata that will be used for all corresponding `WorkloadEntries`.
         User labels for a workload group should be set here in `metadata` rather than in `template`.
         
        .istio.networking.v1alpha3.WorkloadGroup.ObjectMeta metadata = 1;
        指定者:
        hasMetadata 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilder
        返回:
        Whether the metadata field is set.
      • hasTemplate

        public boolean hasTemplate()
         Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
         Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount`
         should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the
         specified service account's token. Workload entries in this group will be in the same namespace as the
         workload group, and inherit the labels and annotations from the above `metadata` field.
         
        .istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        hasTemplate 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilder
        返回:
        Whether the template field is set.
      • getTemplate

        public WorkloadEntryOuterClass.WorkloadEntry getTemplate()
         Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
         Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount`
         should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the
         specified service account's token. Workload entries in this group will be in the same namespace as the
         workload group, and inherit the labels and annotations from the above `metadata` field.
         
        .istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getTemplate 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilder
        返回:
        The template.
      • getTemplateOrBuilder

        public WorkloadEntryOuterClass.WorkloadEntryOrBuilder getTemplateOrBuilder()
         Template to be used for the generation of `WorkloadEntry` resources that belong to this `WorkloadGroup`.
         Please note that `address` and `labels` fields should not be set in the template, and an empty `serviceAccount`
         should default to `default`. The workload identities (mTLS certificates) will be bootstrapped using the
         specified service account's token. Workload entries in this group will be in the same namespace as the
         workload group, and inherit the labels and annotations from the above `metadata` field.
         
        .istio.networking.v1alpha3.WorkloadEntry template = 2 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getTemplateOrBuilder 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilder
      • hasProbe

        public boolean hasProbe()
         `ReadinessProbe` describes the configuration the user must provide for healthchecking on their workload.
         This configuration mirrors K8S in both syntax and logic for the most part.
         
        .istio.networking.v1alpha3.ReadinessProbe probe = 3;
        指定者:
        hasProbe 在接口中 WorkloadGroupOuterClass.WorkloadGroupOrBuilder
        返回:
        Whether the probe field is set.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(java.nio.ByteBuffer data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(java.nio.ByteBuffer data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(com.google.protobuf.ByteString data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(com.google.protobuf.ByteString data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(byte[] data)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(byte[] data,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(java.io.InputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseDelimitedFrom​(java.io.InputStream input,
                                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                        throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static WorkloadGroupOuterClass.WorkloadGroup parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                               throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected WorkloadGroupOuterClass.WorkloadGroup.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<WorkloadGroupOuterClass.WorkloadGroup> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public WorkloadGroupOuterClass.WorkloadGroup getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder