Package io.temporal.api.cloud.nexus.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDescription()The markdown description of the endpoint - optional.com.google.protobuf.ByteStringgetDescriptionBytes()The markdown description of the endpoint - optional.java.lang.StringgetName()The name of the endpoint.com.google.protobuf.ByteStringgetNameBytes()The name of the endpoint.EndpointPolicySpecgetPolicySpecs(int index)The set of policies (e.g.intgetPolicySpecsCount()The set of policies (e.g.java.util.List<EndpointPolicySpec>getPolicySpecsList()The set of policies (e.g.EndpointPolicySpecOrBuildergetPolicySpecsOrBuilder(int index)The set of policies (e.g.java.util.List<? extends EndpointPolicySpecOrBuilder>getPolicySpecsOrBuilderList()The set of policies (e.g.EndpointTargetSpecgetTargetSpec()Indicates where the endpoint should forward received nexus requests to.EndpointTargetSpecOrBuildergetTargetSpecOrBuilder()Indicates where the endpoint should forward received nexus requests to.booleanhasTargetSpec()Indicates where the endpoint should forward received nexus requests to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getDescription
java.lang.String getDescription()
The markdown description of the endpoint - optional.
string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
The markdown description of the endpoint - optional.
string description = 4;- Returns:
- The bytes for description.
-
-