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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • clear

      public EnvironmentInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • getDefaultInstanceForType

      public EnvironmentInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public EnvironmentInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EnvironmentInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public EnvironmentInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • setField

      public EnvironmentInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • clearField

      public EnvironmentInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • clearOneof

      public EnvironmentInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • setRepeatedField

      public EnvironmentInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • addRepeatedField

      public EnvironmentInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • mergeFrom

      public EnvironmentInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EnvironmentInfo.Builder>
    • mergeFrom

      public EnvironmentInfo.Builder mergeFrom(EnvironmentInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EnvironmentInfo.Builder>
      Throws:
      IOException
    • getRuntimesList

      public List<EnvironmentInfo.Runtime> getRuntimesList()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
      Specified by:
      getRuntimesList in interface EnvironmentInfoOrBuilder
    • getRuntimesCount

      public int getRuntimesCount()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
      Specified by:
      getRuntimesCount in interface EnvironmentInfoOrBuilder
    • getRuntimes

      public EnvironmentInfo.Runtime getRuntimes(int index)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
      Specified by:
      getRuntimes in interface EnvironmentInfoOrBuilder
    • setRuntimes

      public EnvironmentInfo.Builder setRuntimes(int index, EnvironmentInfo.Runtime value)
       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

      public EnvironmentInfo.Builder addRuntimes(int index, EnvironmentInfo.Runtime value)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • addRuntimes

      public EnvironmentInfo.Builder addRuntimes(EnvironmentInfo.Runtime.Builder builderForValue)
       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

      public EnvironmentInfo.Builder addAllRuntimes(Iterable<? extends EnvironmentInfo.Runtime> values)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • clearRuntimes

      public EnvironmentInfo.Builder clearRuntimes()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • removeRuntimes

      public EnvironmentInfo.Builder removeRuntimes(int index)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • getRuntimesBuilder

      public EnvironmentInfo.Runtime.Builder getRuntimesBuilder(int index)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • getRuntimesOrBuilder

      public EnvironmentInfo.RuntimeOrBuilder getRuntimesOrBuilder(int index)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
      Specified by:
      getRuntimesOrBuilder in interface EnvironmentInfoOrBuilder
    • getRuntimesOrBuilderList

      public List<? extends EnvironmentInfo.RuntimeOrBuilder> getRuntimesOrBuilderList()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
      Specified by:
      getRuntimesOrBuilderList in interface EnvironmentInfoOrBuilder
    • addRuntimesBuilder

      public EnvironmentInfo.Runtime.Builder addRuntimesBuilder()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • addRuntimesBuilder

      public EnvironmentInfo.Runtime.Builder addRuntimesBuilder(int index)
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • getRuntimesBuilderList

      public List<EnvironmentInfo.Runtime.Builder> getRuntimesBuilderList()
       The runtime(s) the SDK is operating in.
       
      repeated .temporal.api.worker.v1.EnvironmentInfo.Runtime runtimes = 1;
    • getHostingEnvironmentsList

      public List<EnvironmentInfo.HostingEnvironment> 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:
      getHostingEnvironmentsList in interface EnvironmentInfoOrBuilder
    • 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:
      getHostingEnvironmentsCount in interface EnvironmentInfoOrBuilder
    • getHostingEnvironments

      public EnvironmentInfo.HostingEnvironment getHostingEnvironments(int index)
       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:
      getHostingEnvironments in interface EnvironmentInfoOrBuilder
    • 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

      public EnvironmentInfo.Builder addHostingEnvironments(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(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

      public EnvironmentInfo.Builder 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

      public EnvironmentInfo.Builder removeHostingEnvironments(int index)
       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

      public EnvironmentInfo.HostingEnvironment.Builder getHostingEnvironmentsBuilder(int index)
       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

      public EnvironmentInfo.HostingEnvironmentOrBuilder getHostingEnvironmentsOrBuilder(int index)
       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:
      getHostingEnvironmentsOrBuilder in interface EnvironmentInfoOrBuilder
    • 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:
      getHostingEnvironmentsOrBuilderList in interface EnvironmentInfoOrBuilder
    • addHostingEnvironmentsBuilder

      public EnvironmentInfo.HostingEnvironment.Builder 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

      public EnvironmentInfo.HostingEnvironment.Builder addHostingEnvironmentsBuilder(int index)
       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

      public List<EnvironmentInfo.HostingEnvironment.Builder> 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:
      hasPlatform in interface EnvironmentInfoOrBuilder
      Returns:
      Whether the platform field is set.
    • getPlatform

      public EnvironmentInfo.Platform getPlatform()
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
      Specified by:
      getPlatform in interface EnvironmentInfoOrBuilder
      Returns:
      The platform.
    • setPlatform

       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
    • setPlatform

      public EnvironmentInfo.Builder setPlatform(EnvironmentInfo.Platform.Builder builderForValue)
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
    • mergePlatform

      public EnvironmentInfo.Builder mergePlatform(EnvironmentInfo.Platform value)
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
    • clearPlatform

      public EnvironmentInfo.Builder clearPlatform()
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
    • getPlatformBuilder

      public EnvironmentInfo.Platform.Builder getPlatformBuilder()
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
    • getPlatformOrBuilder

      public EnvironmentInfo.PlatformOrBuilder getPlatformOrBuilder()
       The platform the SDK is operating on.
       
      .temporal.api.worker.v1.EnvironmentInfo.Platform platform = 3;
      Specified by:
      getPlatformOrBuilder in interface EnvironmentInfoOrBuilder
    • setUnknownFields

      public final EnvironmentInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>
    • mergeUnknownFields

      public final EnvironmentInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<EnvironmentInfo.Builder>