Interface EndpointSpecOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    EndpointSpec, EndpointSpec.Builder

    @Generated(value="protoc",
               comments="annotations:EndpointSpecOrBuilder.java.pb.meta")
    public interface EndpointSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        java.lang.String getName()
         The name of the endpoint. Must be unique within an account.
         The name must match `^[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9]$`.
         This field is mutable.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the endpoint. Must be unique within an account.
         The name must match `^[a-zA-Z][a-zA-Z0-9\-]*[a-zA-Z0-9]$`.
         This field is mutable.
         
        string name = 1;
        Returns:
        The bytes for name.
      • hasTargetSpec

        boolean hasTargetSpec()
         Indicates where the endpoint should forward received nexus requests to. 
         
        .temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;
        Returns:
        Whether the targetSpec field is set.
      • getTargetSpec

        EndpointTargetSpec getTargetSpec()
         Indicates where the endpoint should forward received nexus requests to. 
         
        .temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;
        Returns:
        The targetSpec.
      • getTargetSpecOrBuilder

        EndpointTargetSpecOrBuilder getTargetSpecOrBuilder()
         Indicates where the endpoint should forward received nexus requests to. 
         
        .temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;
      • getPolicySpecsList

        java.util.List<EndpointPolicySpec> getPolicySpecsList()
         The set of policies (e.g. authorization) for the endpoint. Each request's caller
         must match with at least one of the specs to be accepted by the endpoint.
         This field is mutable.
         
        repeated .temporal.api.cloud.nexus.v1.EndpointPolicySpec policy_specs = 3;
      • getPolicySpecs

        EndpointPolicySpec getPolicySpecs​(int index)
         The set of policies (e.g. authorization) for the endpoint. Each request's caller
         must match with at least one of the specs to be accepted by the endpoint.
         This field is mutable.
         
        repeated .temporal.api.cloud.nexus.v1.EndpointPolicySpec policy_specs = 3;
      • getPolicySpecsCount

        int getPolicySpecsCount()
         The set of policies (e.g. authorization) for the endpoint. Each request's caller
         must match with at least one of the specs to be accepted by the endpoint.
         This field is mutable.
         
        repeated .temporal.api.cloud.nexus.v1.EndpointPolicySpec policy_specs = 3;
      • getPolicySpecsOrBuilderList

        java.util.List<? extends EndpointPolicySpecOrBuilder> getPolicySpecsOrBuilderList()
         The set of policies (e.g. authorization) for the endpoint. Each request's caller
         must match with at least one of the specs to be accepted by the endpoint.
         This field is mutable.
         
        repeated .temporal.api.cloud.nexus.v1.EndpointPolicySpec policy_specs = 3;
      • getPolicySpecsOrBuilder

        EndpointPolicySpecOrBuilder getPolicySpecsOrBuilder​(int index)
         The set of policies (e.g. authorization) for the endpoint. Each request's caller
         must match with at least one of the specs to be accepted by the endpoint.
         This field is mutable.
         
        repeated .temporal.api.cloud.nexus.v1.EndpointPolicySpec policy_specs = 3;
      • getDescriptionDeprecated

        @Deprecated
        java.lang.String getDescriptionDeprecated()
        Deprecated.
        temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31
         Deprecated: Not supported after v0.4.0 api version. Use description instead.
         temporal:versioning:max_version=v0.4.0
         
        string description_deprecated = 4 [deprecated = true];
        Returns:
        The descriptionDeprecated.
      • getDescriptionDeprecatedBytes

        @Deprecated
        com.google.protobuf.ByteString getDescriptionDeprecatedBytes()
        Deprecated.
        temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31
         Deprecated: Not supported after v0.4.0 api version. Use description instead.
         temporal:versioning:max_version=v0.4.0
         
        string description_deprecated = 4 [deprecated = true];
        Returns:
        The bytes for descriptionDeprecated.
      • hasDescription

        boolean hasDescription()
         The markdown description of the endpoint - optional.
         temporal:versioning:min_version=v0.4.0
         
        .temporal.api.common.v1.Payload description = 5;
        Returns:
        Whether the description field is set.
      • getDescription

        Payload getDescription()
         The markdown description of the endpoint - optional.
         temporal:versioning:min_version=v0.4.0
         
        .temporal.api.common.v1.Payload description = 5;
        Returns:
        The description.
      • getDescriptionOrBuilder

        PayloadOrBuilder getDescriptionOrBuilder()
         The markdown description of the endpoint - optional.
         temporal:versioning:min_version=v0.4.0
         
        .temporal.api.common.v1.Payload description = 5;