Package io.temporal.api.cloud.nexus.v1
Class Endpoint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
- io.temporal.api.cloud.nexus.v1.Endpoint.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointOrBuilder,java.lang.Cloneable
- Enclosing class:
- Endpoint
public static final class Endpoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder> implements EndpointOrBuilder
An endpoint that receives and then routes Nexus requests
Protobuf typetemporal.api.cloud.nexus.v1.Endpoint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Endpointbuild()EndpointbuildPartial()Endpoint.Builderclear()Endpoint.BuilderclearAsyncOperationId()The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.Endpoint.BuilderclearCreatedTime()The date and time when the endpoint was created.Endpoint.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Endpoint.BuilderclearId()The id of the endpoint.Endpoint.BuilderclearLastModifiedTime()The date and time when the endpoint was last modified.Endpoint.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Endpoint.BuilderclearResourceVersion()The current version of the endpoint specification.Endpoint.BuilderclearSpec()The endpoint specification.Endpoint.BuilderclearState()The current state of the endpoint.Endpoint.Builderclone()java.lang.StringgetAsyncOperationId()The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.com.google.protobuf.TimestampgetCreatedTime()The date and time when the endpoint was created.com.google.protobuf.Timestamp.BuildergetCreatedTimeBuilder()The date and time when the endpoint was created.com.google.protobuf.TimestampOrBuildergetCreatedTimeOrBuilder()The date and time when the endpoint was created.EndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetId()The id of the endpoint.com.google.protobuf.ByteStringgetIdBytes()The id of the endpoint.com.google.protobuf.TimestampgetLastModifiedTime()The date and time when the endpoint was last modified.com.google.protobuf.Timestamp.BuildergetLastModifiedTimeBuilder()The date and time when the endpoint was last modified.com.google.protobuf.TimestampOrBuildergetLastModifiedTimeOrBuilder()The date and time when the endpoint was last modified.java.lang.StringgetResourceVersion()The current version of the endpoint specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the endpoint specification.EndpointSpecgetSpec()The endpoint specification.EndpointSpec.BuildergetSpecBuilder()The endpoint specification.EndpointSpecOrBuildergetSpecOrBuilder()The endpoint specification.ResourceStategetState()The current state of the endpoint.intgetStateValue()The current state of the endpoint.booleanhasCreatedTime()The date and time when the endpoint was created.booleanhasLastModifiedTime()The date and time when the endpoint was last modified.booleanhasSpec()The endpoint specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Endpoint.BuildermergeCreatedTime(com.google.protobuf.Timestamp value)The date and time when the endpoint was created.Endpoint.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Endpoint.BuildermergeFrom(com.google.protobuf.Message other)Endpoint.BuildermergeFrom(Endpoint other)Endpoint.BuildermergeLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the endpoint was last modified.Endpoint.BuildermergeSpec(EndpointSpec value)The endpoint specification.Endpoint.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Endpoint.BuildersetAsyncOperationId(java.lang.String value)The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.Endpoint.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.Endpoint.BuildersetCreatedTime(com.google.protobuf.Timestamp value)The date and time when the endpoint was created.Endpoint.BuildersetCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the endpoint was created.Endpoint.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Endpoint.BuildersetId(java.lang.String value)The id of the endpoint.Endpoint.BuildersetIdBytes(com.google.protobuf.ByteString value)The id of the endpoint.Endpoint.BuildersetLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the endpoint was last modified.Endpoint.BuildersetLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the endpoint was last modified.Endpoint.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Endpoint.BuildersetResourceVersion(java.lang.String value)The current version of the endpoint specification.Endpoint.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)The current version of the endpoint specification.Endpoint.BuildersetSpec(EndpointSpec value)The endpoint specification.Endpoint.BuildersetSpec(EndpointSpec.Builder builderForValue)The endpoint specification.Endpoint.BuildersetState(ResourceState value)The current state of the endpoint.Endpoint.BuildersetStateValue(int value)The current state of the endpoint.Endpoint.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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<Endpoint.Builder>
-
clear
public Endpoint.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<Endpoint.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<Endpoint.Builder>
-
getDefaultInstanceForType
public Endpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Endpoint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Endpoint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Endpoint.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<Endpoint.Builder>
-
setField
public Endpoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearField
public Endpoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
clearOneof
public Endpoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
setRepeatedField
public Endpoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
addRepeatedField
public Endpoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(Endpoint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeFrom
public Endpoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Endpoint.Builder>- Throws:
java.io.IOException
-
getId
public java.lang.String getId()
The id of the endpoint. This is generated by the server and is immutable.
string id = 1;- Specified by:
getIdin interfaceEndpointOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
The id of the endpoint. This is generated by the server and is immutable.
string id = 1;- Specified by:
getIdBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for id.
-
setId
public Endpoint.Builder setId(java.lang.String value)
The id of the endpoint. This is generated by the server and is immutable.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Endpoint.Builder clearId()
The id of the endpoint. This is generated by the server and is immutable.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public Endpoint.Builder setIdBytes(com.google.protobuf.ByteString value)
The id of the endpoint. This is generated by the server and is immutable.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getResourceVersion
public java.lang.String getResourceVersion()
The current version of the endpoint specification. The next update operation must include this version.
string resource_version = 2;- Specified by:
getResourceVersionin interfaceEndpointOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()
The current version of the endpoint specification. The next update operation must include this version.
string resource_version = 2;- Specified by:
getResourceVersionBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
public Endpoint.Builder setResourceVersion(java.lang.String value)
The current version of the endpoint specification. The next update operation must include this version.
string resource_version = 2;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
public Endpoint.Builder clearResourceVersion()
The current version of the endpoint specification. The next update operation must include this version.
string resource_version = 2;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public Endpoint.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
The current version of the endpoint specification. The next update operation must include this version.
string resource_version = 2;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;- Specified by:
hasSpecin interfaceEndpointOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
public EndpointSpec getSpec()
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;- Specified by:
getSpecin interfaceEndpointOrBuilder- Returns:
- The spec.
-
setSpec
public Endpoint.Builder setSpec(EndpointSpec value)
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;
-
setSpec
public Endpoint.Builder setSpec(EndpointSpec.Builder builderForValue)
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;
-
mergeSpec
public Endpoint.Builder mergeSpec(EndpointSpec value)
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;
-
clearSpec
public Endpoint.Builder clearSpec()
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;
-
getSpecBuilder
public EndpointSpec.Builder getSpecBuilder()
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;
-
getSpecOrBuilder
public EndpointSpecOrBuilder getSpecOrBuilder()
The endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceEndpointOrBuilder
-
getStateValue
public int getStateValue()
The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStateValuein interfaceEndpointOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Endpoint.Builder setStateValue(int value)
The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public ResourceState getState()
The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Specified by:
getStatein interfaceEndpointOrBuilder- Returns:
- The state.
-
setState
public Endpoint.Builder setState(ResourceState value)
The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Endpoint.Builder clearState()
The current state of the endpoint. For any failed state, reach out to Temporal Cloud support for remediation.
.temporal.api.cloud.resource.v1.ResourceState state = 4;- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String getAsyncOperationId()
The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceEndpointOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceEndpointOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
public Endpoint.Builder setAsyncOperationId(java.lang.String value)
The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
public Endpoint.Builder clearAsyncOperationId()
The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public Endpoint.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
The id of any ongoing async operation that is creating, updating, or deleting the endpoint, if any.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasCreatedTime
public boolean hasCreatedTime()
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
hasCreatedTimein interfaceEndpointOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimein interfaceEndpointOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
public Endpoint.Builder setCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;
-
setCreatedTime
public Endpoint.Builder setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;
-
mergeCreatedTime
public Endpoint.Builder mergeCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;
-
clearCreatedTime
public Endpoint.Builder clearCreatedTime()
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;
-
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;
-
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
The date and time when the endpoint was created.
.google.protobuf.Timestamp created_time = 6;- Specified by:
getCreatedTimeOrBuilderin interfaceEndpointOrBuilder
-
hasLastModifiedTime
public boolean hasLastModifiedTime()
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
hasLastModifiedTimein interfaceEndpointOrBuilder- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
public com.google.protobuf.Timestamp getLastModifiedTime()
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimein interfaceEndpointOrBuilder- Returns:
- The lastModifiedTime.
-
setLastModifiedTime
public Endpoint.Builder setLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
setLastModifiedTime
public Endpoint.Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
mergeLastModifiedTime
public Endpoint.Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
clearLastModifiedTime
public Endpoint.Builder clearLastModifiedTime()
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
getLastModifiedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder()
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;
-
getLastModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
The date and time when the endpoint was last modified.
.google.protobuf.Timestamp last_modified_time = 7;- Specified by:
getLastModifiedTimeOrBuilderin interfaceEndpointOrBuilder
-
setUnknownFields
public final Endpoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
mergeUnknownFields
public final Endpoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Endpoint.Builder>
-
-