Class AddSearchAttributesRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
- io.temporal.api.operatorservice.v1.AddSearchAttributesRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AddSearchAttributesRequestOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AddSearchAttributesRequest
public static final class AddSearchAttributesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder> implements AddSearchAttributesRequestOrBuilder
Protobuf typetemporal.api.operatorservice.v1.AddSearchAttributesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddSearchAttributesRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AddSearchAttributesRequest
build()
AddSearchAttributesRequest
buildPartial()
AddSearchAttributesRequest.Builder
clear()
AddSearchAttributesRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AddSearchAttributesRequest.Builder
clearNamespace()
string namespace = 2;
AddSearchAttributesRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AddSearchAttributesRequest.Builder
clearSearchAttributes()
AddSearchAttributesRequest.Builder
clone()
boolean
containsSearchAttributes(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.util.Map<java.lang.String,IndexedValueType>
getMutableSearchAttributes()
Deprecated.java.util.Map<java.lang.String,java.lang.Integer>
getMutableSearchAttributesValue()
Deprecated.java.lang.String
getNamespace()
string namespace = 2;
com.google.protobuf.ByteString
getNamespaceBytes()
string namespace = 2;
java.util.Map<java.lang.String,IndexedValueType>
getSearchAttributes()
Deprecated.int
getSearchAttributesCount()
Mapping between search attribute name and its IndexedValueType.java.util.Map<java.lang.String,IndexedValueType>
getSearchAttributesMap()
Mapping between search attribute name and its IndexedValueType.IndexedValueType
getSearchAttributesOrDefault(java.lang.String key, IndexedValueType defaultValue)
Mapping between search attribute name and its IndexedValueType.IndexedValueType
getSearchAttributesOrThrow(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.java.util.Map<java.lang.String,java.lang.Integer>
getSearchAttributesValue()
Deprecated.java.util.Map<java.lang.String,java.lang.Integer>
getSearchAttributesValueMap()
Mapping between search attribute name and its IndexedValueType.int
getSearchAttributesValueOrDefault(java.lang.String key, int defaultValue)
Mapping between search attribute name and its IndexedValueType.int
getSearchAttributesValueOrThrow(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
AddSearchAttributesRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AddSearchAttributesRequest.Builder
mergeFrom(com.google.protobuf.Message other)
AddSearchAttributesRequest.Builder
mergeFrom(AddSearchAttributesRequest other)
AddSearchAttributesRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AddSearchAttributesRequest.Builder
putAllSearchAttributes(java.util.Map<java.lang.String,IndexedValueType> values)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest.Builder
putAllSearchAttributesValue(java.util.Map<java.lang.String,java.lang.Integer> values)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest.Builder
putSearchAttributes(java.lang.String key, IndexedValueType value)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest.Builder
putSearchAttributesValue(java.lang.String key, int value)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest.Builder
removeSearchAttributes(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.AddSearchAttributesRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AddSearchAttributesRequest.Builder
setNamespace(java.lang.String value)
string namespace = 2;
AddSearchAttributesRequest.Builder
setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 2;
AddSearchAttributesRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AddSearchAttributesRequest.Builder
setUnknownFields(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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
clear
public AddSearchAttributesRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
getDefaultInstanceForType
public AddSearchAttributesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddSearchAttributesRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddSearchAttributesRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddSearchAttributesRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
setField
public AddSearchAttributesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
clearField
public AddSearchAttributesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
clearOneof
public AddSearchAttributesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
setRepeatedField
public AddSearchAttributesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
addRepeatedField
public AddSearchAttributesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
mergeFrom
public AddSearchAttributesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddSearchAttributesRequest.Builder>
-
mergeFrom
public AddSearchAttributesRequest.Builder mergeFrom(AddSearchAttributesRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
mergeFrom
public AddSearchAttributesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddSearchAttributesRequest.Builder>
- Throws:
java.io.IOException
-
getSearchAttributesCount
public int getSearchAttributesCount()
Description copied from interface:AddSearchAttributesRequestOrBuilder
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesCount
in interfaceAddSearchAttributesRequestOrBuilder
-
containsSearchAttributes
public boolean containsSearchAttributes(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
containsSearchAttributes
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributes
@Deprecated public java.util.Map<java.lang.String,IndexedValueType> getSearchAttributes()
Deprecated.UsegetSearchAttributesMap()
instead.- Specified by:
getSearchAttributes
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesMap
public java.util.Map<java.lang.String,IndexedValueType> getSearchAttributesMap()
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesMap
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesOrDefault
public IndexedValueType getSearchAttributesOrDefault(java.lang.String key, IndexedValueType defaultValue)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesOrDefault
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesOrThrow
public IndexedValueType getSearchAttributesOrThrow(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesOrThrow
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesValue
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getSearchAttributesValue()
Deprecated.UsegetSearchAttributesValueMap()
instead.- Specified by:
getSearchAttributesValue
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesValueMap
public java.util.Map<java.lang.String,java.lang.Integer> getSearchAttributesValueMap()
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesValueMap
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesValueOrDefault
public int getSearchAttributesValueOrDefault(java.lang.String key, int defaultValue)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesValueOrDefault
in interfaceAddSearchAttributesRequestOrBuilder
-
getSearchAttributesValueOrThrow
public int getSearchAttributesValueOrThrow(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
- Specified by:
getSearchAttributesValueOrThrow
in interfaceAddSearchAttributesRequestOrBuilder
-
clearSearchAttributes
public AddSearchAttributesRequest.Builder clearSearchAttributes()
-
removeSearchAttributes
public AddSearchAttributesRequest.Builder removeSearchAttributes(java.lang.String key)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
-
getMutableSearchAttributes
@Deprecated public java.util.Map<java.lang.String,IndexedValueType> getMutableSearchAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putSearchAttributes
public AddSearchAttributesRequest.Builder putSearchAttributes(java.lang.String key, IndexedValueType value)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
-
putAllSearchAttributes
public AddSearchAttributesRequest.Builder putAllSearchAttributes(java.util.Map<java.lang.String,IndexedValueType> values)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
-
getMutableSearchAttributesValue
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getMutableSearchAttributesValue()
Deprecated.Use alternate mutation accessors instead.
-
putSearchAttributesValue
public AddSearchAttributesRequest.Builder putSearchAttributesValue(java.lang.String key, int value)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
-
putAllSearchAttributesValue
public AddSearchAttributesRequest.Builder putAllSearchAttributesValue(java.util.Map<java.lang.String,java.lang.Integer> values)
Mapping between search attribute name and its IndexedValueType.
map<string, .temporal.api.enums.v1.IndexedValueType> search_attributes = 1;
-
getNamespace
public java.lang.String getNamespace()
string namespace = 2;
- Specified by:
getNamespace
in interfaceAddSearchAttributesRequestOrBuilder
- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 2;
- Specified by:
getNamespaceBytes
in interfaceAddSearchAttributesRequestOrBuilder
- Returns:
- The bytes for namespace.
-
setNamespace
public AddSearchAttributesRequest.Builder setNamespace(java.lang.String value)
string namespace = 2;
- Parameters:
value
- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public AddSearchAttributesRequest.Builder clearNamespace()
string namespace = 2;
- Returns:
- This builder for chaining.
-
setNamespaceBytes
public AddSearchAttributesRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
string namespace = 2;
- Parameters:
value
- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AddSearchAttributesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
mergeUnknownFields
public final AddSearchAttributesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddSearchAttributesRequest.Builder>
-
-