Class ComputeProvider.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ComputeProvider.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
io.temporal.api.compute.v1.ComputeProvider.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ComputeProviderOrBuilder,Cloneable
- Enclosing class:
ComputeProvider
public static final class ComputeProvider.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
implements ComputeProviderOrBuilder
ComputeProvider stores information used by a worker control plane controller to respond to worker lifecycle events. For example, when a Task is received on a TaskQueue that has no active pollers, a serverless worker lifecycle controller might need to invoke an AWS Lambda Function that itself ends up calling the SDK's worker.New() function.Protobuf type
temporal.api.compute.v1.ComputeProvider-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Contains provider-specific instructions and configuration.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Type of the compute provider.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorContains provider-specific instructions and configuration.Contains provider-specific instructions and configuration.Contains provider-specific instructions and configuration.Optional.com.google.protobuf.ByteStringOptional.getType()Type of the compute provider.com.google.protobuf.ByteStringType of the compute provider.booleanContains provider-specific instructions and configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeDetails(Payload value) Contains provider-specific instructions and configuration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ComputeProvider other) final ComputeProvider.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDetails(Payload value) Contains provider-specific instructions and configuration.setDetails(Payload.Builder builderForValue) Contains provider-specific instructions and configuration.setNexusEndpoint(String value) Optional.setNexusEndpointBytes(com.google.protobuf.ByteString value) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Type of the compute provider.setTypeBytes(com.google.protobuf.ByteString value) Type of the compute provider.final ComputeProvider.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<ComputeProvider.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<ComputeProvider.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<ComputeProvider.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<ComputeProvider.Builder>
-
setField
public ComputeProvider.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<ComputeProvider.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
-
setRepeatedField
public ComputeProvider.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<ComputeProvider.Builder>
-
addRepeatedField
public ComputeProvider.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<ComputeProvider.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComputeProvider.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
-
mergeFrom
public ComputeProvider.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<ComputeProvider.Builder>- Throws:
IOException
-
getType
Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field.
string type = 1;- Specified by:
getTypein interfaceComputeProviderOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field.
string type = 1;- Specified by:
getTypeBytesin interfaceComputeProviderOrBuilder- Returns:
- The bytes for type.
-
setType
Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field.
string type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field.
string type = 1;- Returns:
- This builder for chaining.
-
setTypeBytes
Type of the compute provider. This string is implementation-specific and can be used by implementations to understand how to interpret the contents of the provider_details field.
string type = 1;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasDetails
public boolean hasDetails()Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2;- Specified by:
hasDetailsin interfaceComputeProviderOrBuilder- Returns:
- Whether the details field is set.
-
getDetails
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2;- Specified by:
getDetailsin interfaceComputeProviderOrBuilder- Returns:
- The details.
-
setDetails
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2; -
setDetails
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2; -
mergeDetails
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2; -
clearDetails
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2; -
getDetailsBuilder
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2; -
getDetailsOrBuilder
Contains provider-specific instructions and configuration. For server-implemented providers, use the SDK's default content converter to ensure the server can understand it. For remote-implemented providers, you might use your own content converters according to what the remote endpoints understand.
.temporal.api.common.v1.Payload details = 2;- Specified by:
getDetailsOrBuilderin interfaceComputeProviderOrBuilder
-
getNexusEndpoint
Optional. If the compute provider is a Nexus service, this should point there.
string nexus_endpoint = 10;- Specified by:
getNexusEndpointin interfaceComputeProviderOrBuilder- Returns:
- The nexusEndpoint.
-
getNexusEndpointBytes
public com.google.protobuf.ByteString getNexusEndpointBytes()Optional. If the compute provider is a Nexus service, this should point there.
string nexus_endpoint = 10;- Specified by:
getNexusEndpointBytesin interfaceComputeProviderOrBuilder- Returns:
- The bytes for nexusEndpoint.
-
setNexusEndpoint
Optional. If the compute provider is a Nexus service, this should point there.
string nexus_endpoint = 10;- Parameters:
value- The nexusEndpoint to set.- Returns:
- This builder for chaining.
-
clearNexusEndpoint
Optional. If the compute provider is a Nexus service, this should point there.
string nexus_endpoint = 10;- Returns:
- This builder for chaining.
-
setNexusEndpointBytes
Optional. If the compute provider is a Nexus service, this should point there.
string nexus_endpoint = 10;- Parameters:
value- The bytes for nexusEndpoint to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ComputeProvider.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
-
mergeUnknownFields
public final ComputeProvider.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeProvider.Builder>
-