Class CollectionSetProtos.StringAttribute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder>
-
- org.opennms.features.kafka.producer.model.CollectionSetProtos.StringAttribute.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,CollectionSetProtos.StringAttributeOrBuilder
- Enclosing class:
- CollectionSetProtos.StringAttribute
public static final class CollectionSetProtos.StringAttribute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder> implements CollectionSetProtos.StringAttributeOrBuilder
Protobuf typeStringAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSetProtos.StringAttribute.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CollectionSetProtos.StringAttribute
build()
CollectionSetProtos.StringAttribute
buildPartial()
CollectionSetProtos.StringAttribute.Builder
clear()
CollectionSetProtos.StringAttribute.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CollectionSetProtos.StringAttribute.Builder
clearName()
string name = 1;
CollectionSetProtos.StringAttribute.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CollectionSetProtos.StringAttribute.Builder
clearValue()
string value = 2;
CollectionSetProtos.StringAttribute.Builder
clone()
CollectionSetProtos.StringAttribute
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
java.lang.String
getValue()
string value = 2;
com.google.protobuf.ByteString
getValueBytes()
string value = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CollectionSetProtos.StringAttribute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CollectionSetProtos.StringAttribute.Builder
mergeFrom(com.google.protobuf.Message other)
CollectionSetProtos.StringAttribute.Builder
mergeFrom(CollectionSetProtos.StringAttribute other)
CollectionSetProtos.StringAttribute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CollectionSetProtos.StringAttribute.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CollectionSetProtos.StringAttribute.Builder
setName(java.lang.String value)
string name = 1;
CollectionSetProtos.StringAttribute.Builder
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
CollectionSetProtos.StringAttribute.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CollectionSetProtos.StringAttribute.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CollectionSetProtos.StringAttribute.Builder
setValue(java.lang.String value)
string value = 2;
CollectionSetProtos.StringAttribute.Builder
setValueBytes(com.google.protobuf.ByteString value)
string value = 2;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder>
-
clear
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
getDefaultInstanceForType
public CollectionSetProtos.StringAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CollectionSetProtos.StringAttribute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CollectionSetProtos.StringAttribute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
setField
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
clearField
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
clearOneof
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
setRepeatedField
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
addRepeatedField
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
-
mergeFrom
public CollectionSetProtos.StringAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CollectionSetProtos.StringAttribute.Builder>
-
mergeFrom
public CollectionSetProtos.StringAttribute.Builder mergeFrom(CollectionSetProtos.StringAttribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder>
-
mergeFrom
public CollectionSetProtos.StringAttribute.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<CollectionSetProtos.StringAttribute.Builder>
- Throws:
java.io.IOException
-
getName
public java.lang.String getName()
string name = 1;
- Specified by:
getName
in interfaceCollectionSetProtos.StringAttributeOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceCollectionSetProtos.StringAttributeOrBuilder
-
setName
public CollectionSetProtos.StringAttribute.Builder setName(java.lang.String value)
string name = 1;
-
clearName
public CollectionSetProtos.StringAttribute.Builder clearName()
string name = 1;
-
setNameBytes
public CollectionSetProtos.StringAttribute.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
-
getValue
public java.lang.String getValue()
string value = 2;
- Specified by:
getValue
in interfaceCollectionSetProtos.StringAttributeOrBuilder
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes()
string value = 2;
- Specified by:
getValueBytes
in interfaceCollectionSetProtos.StringAttributeOrBuilder
-
setValue
public CollectionSetProtos.StringAttribute.Builder setValue(java.lang.String value)
string value = 2;
-
clearValue
public CollectionSetProtos.StringAttribute.Builder clearValue()
string value = 2;
-
setValueBytes
public CollectionSetProtos.StringAttribute.Builder setValueBytes(com.google.protobuf.ByteString value)
string value = 2;
-
setUnknownFields
public final CollectionSetProtos.StringAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder>
-
mergeUnknownFields
public final CollectionSetProtos.StringAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.StringAttribute.Builder>
-
-