Class EndpointSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EndpointSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
io.temporal.api.cloud.nexus.v1.EndpointSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointSpecOrBuilder,Cloneable
- Enclosing class:
EndpointSpec
public static final class EndpointSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
implements EndpointSpecOrBuilder
Protobuf type
temporal.api.cloud.nexus.v1.EndpointSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllPolicySpecs(Iterable<? extends EndpointPolicySpec> values) The set of policies (e.g.addPolicySpecs(int index, EndpointPolicySpec value) The set of policies (e.g.addPolicySpecs(int index, EndpointPolicySpec.Builder builderForValue) The set of policies (e.g.addPolicySpecs(EndpointPolicySpec value) The set of policies (e.g.addPolicySpecs(EndpointPolicySpec.Builder builderForValue) The set of policies (e.g.The set of policies (e.g.addPolicySpecsBuilder(int index) The set of policies (e.g.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The markdown description of the endpoint - optional.Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The name of the endpoint.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The set of policies (e.g.Indicates where the endpoint should forward received nexus requests to.clone()The markdown description of the endpoint - optional.The markdown description of the endpoint - optional.Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated.The markdown description of the endpoint - optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()The name of the endpoint.com.google.protobuf.ByteStringThe name of the endpoint.getPolicySpecs(int index) The set of policies (e.g.getPolicySpecsBuilder(int index) The set of policies (e.g.The set of policies (e.g.intThe set of policies (e.g.The set of policies (e.g.getPolicySpecsOrBuilder(int index) The set of policies (e.g.List<? extends EndpointPolicySpecOrBuilder> The set of policies (e.g.Indicates where the endpoint should forward received nexus requests to.Indicates where the endpoint should forward received nexus requests to.Indicates where the endpoint should forward received nexus requests to.booleanThe markdown description of the endpoint - optional.booleanIndicates where the endpoint should forward received nexus requests to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDescription(Payload value) The markdown description of the endpoint - optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EndpointSpec other) Indicates where the endpoint should forward received nexus requests to.final EndpointSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePolicySpecs(int index) The set of policies (e.g.setDescription(Payload value) The markdown description of the endpoint - optional.setDescription(Payload.Builder builderForValue) The markdown description of the endpoint - optional.setDescriptionDeprecated(String value) Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated.setDescriptionDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated.The name of the endpoint.setNameBytes(com.google.protobuf.ByteString value) The name of the endpoint.setPolicySpecs(int index, EndpointPolicySpec value) The set of policies (e.g.setPolicySpecs(int index, EndpointPolicySpec.Builder builderForValue) The set of policies (e.g.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTargetSpec(EndpointTargetSpec value) Indicates where the endpoint should forward received nexus requests to.setTargetSpec(EndpointTargetSpec.Builder builderForValue) Indicates where the endpoint should forward received nexus requests to.final EndpointSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
setField
public EndpointSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
setRepeatedField
public EndpointSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
addRepeatedField
public EndpointSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
mergeFrom
public EndpointSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointSpec.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceEndpointSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceEndpointSpecOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTargetSpec
public boolean hasTargetSpec()Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;- Specified by:
hasTargetSpecin interfaceEndpointSpecOrBuilder- Returns:
- Whether the targetSpec field is set.
-
getTargetSpec
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;- Specified by:
getTargetSpecin interfaceEndpointSpecOrBuilder- Returns:
- The targetSpec.
-
setTargetSpec
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2; -
setTargetSpec
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2; -
mergeTargetSpec
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2; -
clearTargetSpec
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2; -
getTargetSpecBuilder
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2; -
getTargetSpecOrBuilder
Indicates where the endpoint should forward received nexus requests to.
.temporal.api.cloud.nexus.v1.EndpointTargetSpec target_spec = 2;- Specified by:
getTargetSpecOrBuilderin interfaceEndpointSpecOrBuilder
-
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;- Specified by:
getPolicySpecsListin interfaceEndpointSpecOrBuilder
-
getPolicySpecsCount
public 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;- Specified by:
getPolicySpecsCountin interfaceEndpointSpecOrBuilder
-
getPolicySpecs
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;- Specified by:
getPolicySpecsin interfaceEndpointSpecOrBuilder
-
setPolicySpecs
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; -
setPolicySpecs
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; -
addPolicySpecs
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; -
addPolicySpecs
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; -
addPolicySpecs
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; -
addPolicySpecs
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; -
addAllPolicySpecs
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; -
clearPolicySpecs
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; -
removePolicySpecs
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; -
getPolicySpecsBuilder
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
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;- Specified by:
getPolicySpecsOrBuilderin interfaceEndpointSpecOrBuilder
-
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;- Specified by:
getPolicySpecsOrBuilderListin interfaceEndpointSpecOrBuilder
-
addPolicySpecsBuilder
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; -
addPolicySpecsBuilder
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; -
getPolicySpecsBuilderList
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.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31Deprecated: Not supported after v0.4.0 api version. Use description instead. temporal:versioning:max_version=v0.4.0
string description_deprecated = 4 [deprecated = true];- Specified by:
getDescriptionDeprecatedin interfaceEndpointSpecOrBuilder- Returns:
- The descriptionDeprecated.
-
getDescriptionDeprecatedBytes
Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31Deprecated: Not supported after v0.4.0 api version. Use description instead. temporal:versioning:max_version=v0.4.0
string description_deprecated = 4 [deprecated = true];- Specified by:
getDescriptionDeprecatedBytesin interfaceEndpointSpecOrBuilder- Returns:
- The bytes for descriptionDeprecated.
-
setDescriptionDeprecated
Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31Deprecated: Not supported after v0.4.0 api version. Use description instead. temporal:versioning:max_version=v0.4.0
string description_deprecated = 4 [deprecated = true];- Parameters:
value- The descriptionDeprecated to set.- Returns:
- This builder for chaining.
-
clearDescriptionDeprecated
Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31Deprecated: 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:
- This builder for chaining.
-
setDescriptionDeprecatedBytes
@Deprecated public EndpointSpec.Builder setDescriptionDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.nexus.v1.EndpointSpec.description_deprecated is deprecated. See temporal/api/cloud/nexus/v1/message.proto;l=31Deprecated: Not supported after v0.4.0 api version. Use description instead. temporal:versioning:max_version=v0.4.0
string description_deprecated = 4 [deprecated = true];- Parameters:
value- The bytes for descriptionDeprecated to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5;- Specified by:
hasDescriptionin interfaceEndpointSpecOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5;- Specified by:
getDescriptionin interfaceEndpointSpecOrBuilder- Returns:
- The description.
-
setDescription
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5; -
setDescription
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5; -
mergeDescription
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5; -
clearDescription
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5; -
getDescriptionBuilder
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5; -
getDescriptionOrBuilder
The markdown description of the endpoint - optional. temporal:versioning:min_version=v0.4.0
.temporal.api.common.v1.Payload description = 5;- Specified by:
getDescriptionOrBuilderin interfaceEndpointSpecOrBuilder
-
setUnknownFields
public final EndpointSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-
mergeUnknownFields
public final EndpointSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointSpec.Builder>
-