Class EnvironmentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EnvironmentInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
io.temporal.api.worker.v1.EnvironmentInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EnvironmentInfoOrBuilder,Cloneable
- Enclosing class:
EnvironmentInfo
public static final class EnvironmentInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
implements EnvironmentInfoOrBuilder
Protobuf type
temporal.api.worker.v1.EnvironmentInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllHostingEnvironments(Iterable<? extends EnvironmentInfo.HostingEnvironment> values) The hosting environment(s) the SDK is operating in.addAllRuntimes(Iterable<? extends EnvironmentInfo.Runtime> values) The runtime(s) the SDK is operating in.addHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment value) The hosting environment(s) the SDK is operating in.addHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in.The hosting environment(s) the SDK is operating in.addHostingEnvironments(EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in.The hosting environment(s) the SDK is operating in.addHostingEnvironmentsBuilder(int index) The hosting environment(s) the SDK is operating in.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRuntimes(int index, EnvironmentInfo.Runtime value) The runtime(s) the SDK is operating in.addRuntimes(int index, EnvironmentInfo.Runtime.Builder builderForValue) The runtime(s) the SDK is operating in.The runtime(s) the SDK is operating in.addRuntimes(EnvironmentInfo.Runtime.Builder builderForValue) The runtime(s) the SDK is operating in.The runtime(s) the SDK is operating in.addRuntimesBuilder(int index) The runtime(s) the SDK is operating in.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The hosting environment(s) the SDK is operating in.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The platform the SDK is operating on.The runtime(s) the SDK is operating in.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetHostingEnvironments(int index) The hosting environment(s) the SDK is operating in.getHostingEnvironmentsBuilder(int index) The hosting environment(s) the SDK is operating in.The hosting environment(s) the SDK is operating in.intThe hosting environment(s) the SDK is operating in.The hosting environment(s) the SDK is operating in.getHostingEnvironmentsOrBuilder(int index) The hosting environment(s) the SDK is operating in.List<? extends EnvironmentInfo.HostingEnvironmentOrBuilder> The hosting environment(s) the SDK is operating in.The platform the SDK is operating on.The platform the SDK is operating on.The platform the SDK is operating on.getRuntimes(int index) The runtime(s) the SDK is operating in.getRuntimesBuilder(int index) The runtime(s) the SDK is operating in.The runtime(s) the SDK is operating in.intThe runtime(s) the SDK is operating in.The runtime(s) the SDK is operating in.getRuntimesOrBuilder(int index) The runtime(s) the SDK is operating in.List<? extends EnvironmentInfo.RuntimeOrBuilder> The runtime(s) the SDK is operating in.booleanThe platform the SDK is operating on.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EnvironmentInfo other) The platform the SDK is operating on.final EnvironmentInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeHostingEnvironments(int index) The hosting environment(s) the SDK is operating in.removeRuntimes(int index) The runtime(s) the SDK is operating in.setHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment value) The hosting environment(s) the SDK is operating in.setHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in.The platform the SDK is operating on.setPlatform(EnvironmentInfo.Platform.Builder builderForValue) The platform the SDK is operating on.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRuntimes(int index, EnvironmentInfo.Runtime value) The runtime(s) the SDK is operating in.setRuntimes(int index, EnvironmentInfo.Runtime.Builder builderForValue) The runtime(s) the SDK is operating in.final EnvironmentInfo.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<EnvironmentInfo.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<EnvironmentInfo.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<EnvironmentInfo.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<EnvironmentInfo.Builder>
-
setField
public EnvironmentInfo.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<EnvironmentInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
-
setRepeatedField
public EnvironmentInfo.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<EnvironmentInfo.Builder>
-
addRepeatedField
public EnvironmentInfo.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<EnvironmentInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EnvironmentInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
-
mergeFrom
public EnvironmentInfo.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<EnvironmentInfo.Builder>- Throws:
IOException
-
getRuntimesList
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;- Specified by:
getRuntimesListin interfaceEnvironmentInfoOrBuilder
-
getRuntimesCount
public int getRuntimesCount()The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;- Specified by:
getRuntimesCountin interfaceEnvironmentInfoOrBuilder
-
getRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;- Specified by:
getRuntimesin interfaceEnvironmentInfoOrBuilder
-
setRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
setRuntimes
public EnvironmentInfo.Builder setRuntimes(int index, EnvironmentInfo.Runtime.Builder builderForValue) The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addRuntimes
public EnvironmentInfo.Builder addRuntimes(int index, EnvironmentInfo.Runtime.Builder builderForValue) The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addAllRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
clearRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
removeRuntimes
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
getRuntimesBuilder
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
getRuntimesOrBuilder
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;- Specified by:
getRuntimesOrBuilderin interfaceEnvironmentInfoOrBuilder
-
getRuntimesOrBuilderList
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;- Specified by:
getRuntimesOrBuilderListin interfaceEnvironmentInfoOrBuilder
-
addRuntimesBuilder
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
addRuntimesBuilder
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
getRuntimesBuilderList
The runtime(s) the SDK is operating in.
repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1; -
getHostingEnvironmentsList
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2;- Specified by:
getHostingEnvironmentsListin interfaceEnvironmentInfoOrBuilder
-
getHostingEnvironmentsCount
public int getHostingEnvironmentsCount()The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2;- Specified by:
getHostingEnvironmentsCountin interfaceEnvironmentInfoOrBuilder
-
getHostingEnvironments
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2;- Specified by:
getHostingEnvironmentsin interfaceEnvironmentInfoOrBuilder
-
setHostingEnvironments
public EnvironmentInfo.Builder setHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment value) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
setHostingEnvironments
public EnvironmentInfo.Builder setHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addHostingEnvironments
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addHostingEnvironments
public EnvironmentInfo.Builder addHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment value) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addHostingEnvironments
public EnvironmentInfo.Builder addHostingEnvironments(EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addHostingEnvironments
public EnvironmentInfo.Builder addHostingEnvironments(int index, EnvironmentInfo.HostingEnvironment.Builder builderForValue) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addAllHostingEnvironments
public EnvironmentInfo.Builder addAllHostingEnvironments(Iterable<? extends EnvironmentInfo.HostingEnvironment> values) The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
clearHostingEnvironments
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
removeHostingEnvironments
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
getHostingEnvironmentsBuilder
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
getHostingEnvironmentsOrBuilder
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2;- Specified by:
getHostingEnvironmentsOrBuilderin interfaceEnvironmentInfoOrBuilder
-
getHostingEnvironmentsOrBuilderList
public List<? extends EnvironmentInfo.HostingEnvironmentOrBuilder> getHostingEnvironmentsOrBuilderList()The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2;- Specified by:
getHostingEnvironmentsOrBuilderListin interfaceEnvironmentInfoOrBuilder
-
addHostingEnvironmentsBuilder
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
addHostingEnvironmentsBuilder
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
getHostingEnvironmentsBuilderList
The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
repeated .temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment hosting_environments = 2; -
hasPlatform
public boolean hasPlatform()The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;- Specified by:
hasPlatformin interfaceEnvironmentInfoOrBuilder- Returns:
- Whether the platform field is set.
-
getPlatform
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;- Specified by:
getPlatformin interfaceEnvironmentInfoOrBuilder- Returns:
- The platform.
-
setPlatform
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3; -
setPlatform
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3; -
mergePlatform
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3; -
clearPlatform
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3; -
getPlatformBuilder
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3; -
getPlatformOrBuilder
The platform the SDK is operating on.
.temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;- Specified by:
getPlatformOrBuilderin interfaceEnvironmentInfoOrBuilder
-
setUnknownFields
public final EnvironmentInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
-
mergeUnknownFields
public final EnvironmentInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
-