Class UserMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UserMetadata.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
io.temporal.api.sdk.v1.UserMetadata.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UserMetadataOrBuilder, Cloneable
Enclosing class:
UserMetadata

public static final class UserMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder> implements UserMetadataOrBuilder
 Information a user can set, often for use by user interfaces.
 
Protobuf type temporal.api.sdk.v1.UserMetadata
  • 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<UserMetadata.Builder>
    • clear

      public UserMetadata.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<UserMetadata.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<UserMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public UserMetadata.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<UserMetadata.Builder>
    • setField

      public UserMetadata.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<UserMetadata.Builder>
    • clearField

      public UserMetadata.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<UserMetadata.Builder>
    • clearOneof

      public UserMetadata.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<UserMetadata.Builder>
    • setRepeatedField

      public UserMetadata.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<UserMetadata.Builder>
    • addRepeatedField

      public UserMetadata.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<UserMetadata.Builder>
    • mergeFrom

      public UserMetadata.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<UserMetadata.Builder>
    • mergeFrom

      public UserMetadata.Builder mergeFrom(UserMetadata other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
    • mergeFrom

      public UserMetadata.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<UserMetadata.Builder>
      Throws:
      IOException
    • hasSummary

      public boolean hasSummary()
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
      Specified by:
      hasSummary in interface UserMetadataOrBuilder
      Returns:
      Whether the summary field is set.
    • getSummary

      public Payload getSummary()
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
      Specified by:
      getSummary in interface UserMetadataOrBuilder
      Returns:
      The summary.
    • setSummary

      public UserMetadata.Builder setSummary(Payload value)
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
    • setSummary

      public UserMetadata.Builder setSummary(Payload.Builder builderForValue)
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
    • mergeSummary

      public UserMetadata.Builder mergeSummary(Payload value)
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
    • clearSummary

      public UserMetadata.Builder clearSummary()
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
    • getSummaryBuilder

      public Payload.Builder getSummaryBuilder()
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
    • getSummaryOrBuilder

      public PayloadOrBuilder getSummaryOrBuilder()
       Short-form text that provides a summary. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "title" situations. The payload data section is limited to 400
       bytes by default.
       
      .temporal.api.common.v1.Payload summary = 1;
      Specified by:
      getSummaryOrBuilder in interface UserMetadataOrBuilder
    • hasDetails

      public boolean hasDetails()
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
      Specified by:
      hasDetails in interface UserMetadataOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public Payload getDetails()
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
      Specified by:
      getDetails in interface UserMetadataOrBuilder
      Returns:
      The details.
    • setDetails

      public UserMetadata.Builder setDetails(Payload value)
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
    • setDetails

      public UserMetadata.Builder setDetails(Payload.Builder builderForValue)
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
    • mergeDetails

      public UserMetadata.Builder mergeDetails(Payload value)
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
    • clearDetails

      public UserMetadata.Builder clearDetails()
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
    • getDetailsBuilder

      public Payload.Builder getDetailsBuilder()
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
    • getDetailsOrBuilder

      public PayloadOrBuilder getDetailsOrBuilder()
       Long-form text that provides details. This payload should be a "json/plain"-encoded payload
       that is a single JSON string for use in user interfaces. User interface formatting may apply to
       this text in common use. The payload data section is limited to 20000 bytes by default.
       
      .temporal.api.common.v1.Payload details = 2;
      Specified by:
      getDetailsOrBuilder in interface UserMetadataOrBuilder
    • setUnknownFields

      public final UserMetadata.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<UserMetadata.Builder>
    • mergeUnknownFields

      public final UserMetadata.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<UserMetadata.Builder>