Class UpdateNexusEndpointRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateNexusEndpointRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateNexusEndpointRequestOrBuilder,Cloneable
- Enclosing class:
UpdateNexusEndpointRequest
public static final class UpdateNexusEndpointRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
implements UpdateNexusEndpointRequestOrBuilder
Protobuf type
temporal.api.cloud.cloudservice.v1.UpdateNexusEndpointRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id to use for this async operation - optional.The id of the nexus endpoint to update.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The version of the nexus endpoint for which this update is intended for.The updated nexus endpoint specification.clone()The id to use for this async operation - optional.com.google.protobuf.ByteStringThe id to use for this async operation - optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe id of the nexus endpoint to update.com.google.protobuf.ByteStringThe id of the nexus endpoint to update.The version of the nexus endpoint for which this update is intended for.com.google.protobuf.ByteStringThe version of the nexus endpoint for which this update is intended for.getSpec()The updated nexus endpoint specification.The updated nexus endpoint specification.The updated nexus endpoint specification.booleanhasSpec()The updated nexus endpoint specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSpec(EndpointSpec value) The updated nexus endpoint specification.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id to use for this async operation - optional.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id to use for this async operation - optional.setEndpointId(String value) The id of the nexus endpoint to update.setEndpointIdBytes(com.google.protobuf.ByteString value) The id of the nexus endpoint to update.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceVersion(String value) The version of the nexus endpoint for which this update is intended for.setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the nexus endpoint for which this update is intended for.setSpec(EndpointSpec value) The updated nexus endpoint specification.setSpec(EndpointSpec.Builder builderForValue) The updated nexus endpoint specification.setUnknownFields(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<UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>
-
setField
public UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>
-
clearField
public UpdateNexusEndpointRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
-
clearOneof
public UpdateNexusEndpointRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
-
setRepeatedField
public UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>
-
addRepeatedField
public UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateNexusEndpointRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
-
mergeFrom
public UpdateNexusEndpointRequest.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<UpdateNexusEndpointRequest.Builder>- Throws:
IOException
-
getEndpointId
The id of the nexus endpoint to update.
string endpoint_id = 1;- Specified by:
getEndpointIdin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The endpointId.
-
getEndpointIdBytes
public com.google.protobuf.ByteString getEndpointIdBytes()The id of the nexus endpoint to update.
string endpoint_id = 1;- Specified by:
getEndpointIdBytesin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The bytes for endpointId.
-
setEndpointId
The id of the nexus endpoint to update.
string endpoint_id = 1;- Parameters:
value- The endpointId to set.- Returns:
- This builder for chaining.
-
clearEndpointId
The id of the nexus endpoint to update.
string endpoint_id = 1;- Returns:
- This builder for chaining.
-
setEndpointIdBytes
The id of the nexus endpoint to update.
string endpoint_id = 1;- Parameters:
value- The bytes for endpointId to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;- Specified by:
hasSpecin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;- Specified by:
getSpecin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The spec.
-
setSpec
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2; -
setSpec
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2; -
mergeSpec
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2; -
clearSpec
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2; -
getSpecBuilder
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2; -
getSpecOrBuilder
The updated nexus endpoint specification.
.temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;- Specified by:
getSpecOrBuilderin interfaceUpdateNexusEndpointRequestOrBuilder
-
getResourceVersion
The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;- Specified by:
getResourceVersionin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;- Specified by:
getResourceVersionBytesin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public UpdateNexusEndpointRequest.Builder setResourceVersionBytes(com.google.protobuf.ByteString value) The version of the nexus endpoint for which this update is intended for. The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
getAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()The id to use for this async operation - optional.
string async_operation_id = 4;- Specified by:
getAsyncOperationIdBytesin interfaceUpdateNexusEndpointRequestOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
The id to use for this async operation - optional.
string async_operation_id = 4;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public UpdateNexusEndpointRequest.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id to use for this async operation - optional.
string async_operation_id = 4;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateNexusEndpointRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
-
mergeUnknownFields
public final UpdateNexusEndpointRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateNexusEndpointRequest.Builder>
-