Package io.temporal.api.sdk.v1
Class UserMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.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 typetemporal.api.sdk.v1.UserMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UserMetadatabuild()UserMetadatabuildPartial()UserMetadata.Builderclear()UserMetadata.BuilderclearDetails()Long-form text that provides details.UserMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UserMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UserMetadata.BuilderclearSummary()Short-form text that provides a summary.UserMetadata.Builderclone()UserMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()PayloadgetDetails()Long-form text that provides details.Payload.BuildergetDetailsBuilder()Long-form text that provides details.PayloadOrBuildergetDetailsOrBuilder()Long-form text that provides details.PayloadgetSummary()Short-form text that provides a summary.Payload.BuildergetSummaryBuilder()Short-form text that provides a summary.PayloadOrBuildergetSummaryOrBuilder()Short-form text that provides a summary.booleanhasDetails()Long-form text that provides details.booleanhasSummary()Short-form text that provides a summary.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UserMetadata.BuildermergeDetails(Payload value)Long-form text that provides details.UserMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UserMetadata.BuildermergeFrom(com.google.protobuf.Message other)UserMetadata.BuildermergeFrom(UserMetadata other)UserMetadata.BuildermergeSummary(Payload value)Short-form text that provides a summary.UserMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UserMetadata.BuildersetDetails(Payload value)Long-form text that provides details.UserMetadata.BuildersetDetails(Payload.Builder builderForValue)Long-form text that provides details.UserMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UserMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)UserMetadata.BuildersetSummary(Payload value)Short-form text that provides a summary.UserMetadata.BuildersetSummary(Payload.Builder builderForValue)Short-form text that provides a summary.UserMetadata.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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<UserMetadata.Builder>
-
clear
public UserMetadata.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<UserMetadata.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<UserMetadata.Builder>
-
getDefaultInstanceForType
public UserMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserMetadata.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<UserMetadata.Builder>
-
setField
public UserMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
clearField
public UserMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
clearOneof
public UserMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
setRepeatedField
public UserMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
addRepeatedField
public UserMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
mergeFrom
public UserMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserMetadata.Builder>
-
mergeFrom
public UserMetadata.Builder mergeFrom(UserMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
mergeFrom
public UserMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserMetadata.Builder>- Throws:
java.io.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:
hasSummaryin interfaceUserMetadataOrBuilder- 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:
getSummaryin interfaceUserMetadataOrBuilder- 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:
getSummaryOrBuilderin interfaceUserMetadataOrBuilder
-
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:
hasDetailsin interfaceUserMetadataOrBuilder- 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:
getDetailsin interfaceUserMetadataOrBuilder- 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:
getDetailsOrBuilderin interfaceUserMetadataOrBuilder
-
setUnknownFields
public final UserMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
mergeUnknownFields
public final UserMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserMetadata.Builder>
-
-