Package org.apache.bookkeeper.proto
Class BookkeeperProtocol.AuthMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
- org.apache.bookkeeper.proto.BookkeeperProtocol.AuthMessage.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
,BookkeeperProtocol.AuthMessageOrBuilder
- Enclosing class:
- BookkeeperProtocol.AuthMessage
public static final class BookkeeperProtocol.AuthMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder> implements BookkeeperProtocol.AuthMessageOrBuilder
Protobuf typeAuthMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BookkeeperProtocol.AuthMessage.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BookkeeperProtocol.AuthMessage
build()
BookkeeperProtocol.AuthMessage
buildPartial()
BookkeeperProtocol.AuthMessage.Builder
clear()
BookkeeperProtocol.AuthMessage.Builder
clearAuthPluginName()
required string authPluginName = 1;
BookkeeperProtocol.AuthMessage.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BookkeeperProtocol.AuthMessage.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BookkeeperProtocol.AuthMessage.Builder
clearPayload()
required bytes payload = 2;
BookkeeperProtocol.AuthMessage.Builder
clone()
java.lang.String
getAuthPluginName()
required string authPluginName = 1;
com.google.protobuf.ByteString
getAuthPluginNameBytes()
required string authPluginName = 1;
BookkeeperProtocol.AuthMessage
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getPayload()
required bytes payload = 2;
boolean
hasAuthPluginName()
required string authPluginName = 1;
boolean
hasPayload()
required bytes payload = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BookkeeperProtocol.AuthMessage.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BookkeeperProtocol.AuthMessage.Builder
mergeFrom(com.google.protobuf.Message other)
BookkeeperProtocol.AuthMessage.Builder
mergeFrom(BookkeeperProtocol.AuthMessage other)
BookkeeperProtocol.AuthMessage.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BookkeeperProtocol.AuthMessage.Builder
setAuthPluginName(java.lang.String value)
required string authPluginName = 1;
BookkeeperProtocol.AuthMessage.Builder
setAuthPluginNameBytes(com.google.protobuf.ByteString value)
required string authPluginName = 1;
BookkeeperProtocol.AuthMessage.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BookkeeperProtocol.AuthMessage.Builder
setPayload(com.google.protobuf.ByteString value)
required bytes payload = 2;
BookkeeperProtocol.AuthMessage.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BookkeeperProtocol.AuthMessage.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, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
clear
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
getDefaultInstanceForType
public BookkeeperProtocol.AuthMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BookkeeperProtocol.AuthMessage build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BookkeeperProtocol.AuthMessage buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
setField
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
clearField
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
clearOneof
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
setRepeatedField
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
addRepeatedField
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
-
mergeFrom
public BookkeeperProtocol.AuthMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
mergeFrom
public BookkeeperProtocol.AuthMessage.Builder mergeFrom(BookkeeperProtocol.AuthMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
mergeFrom
public BookkeeperProtocol.AuthMessage.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<BookkeeperProtocol.AuthMessage.Builder>
- Throws:
java.io.IOException
-
hasAuthPluginName
public boolean hasAuthPluginName()
required string authPluginName = 1;
- Specified by:
hasAuthPluginName
in interfaceBookkeeperProtocol.AuthMessageOrBuilder
- Returns:
- Whether the authPluginName field is set.
-
getAuthPluginName
public java.lang.String getAuthPluginName()
required string authPluginName = 1;
- Specified by:
getAuthPluginName
in interfaceBookkeeperProtocol.AuthMessageOrBuilder
- Returns:
- The authPluginName.
-
getAuthPluginNameBytes
public com.google.protobuf.ByteString getAuthPluginNameBytes()
required string authPluginName = 1;
- Specified by:
getAuthPluginNameBytes
in interfaceBookkeeperProtocol.AuthMessageOrBuilder
- Returns:
- The bytes for authPluginName.
-
setAuthPluginName
public BookkeeperProtocol.AuthMessage.Builder setAuthPluginName(java.lang.String value)
required string authPluginName = 1;
- Parameters:
value
- The authPluginName to set.- Returns:
- This builder for chaining.
-
clearAuthPluginName
public BookkeeperProtocol.AuthMessage.Builder clearAuthPluginName()
required string authPluginName = 1;
- Returns:
- This builder for chaining.
-
setAuthPluginNameBytes
public BookkeeperProtocol.AuthMessage.Builder setAuthPluginNameBytes(com.google.protobuf.ByteString value)
required string authPluginName = 1;
- Parameters:
value
- The bytes for authPluginName to set.- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload()
required bytes payload = 2;
- Specified by:
hasPayload
in interfaceBookkeeperProtocol.AuthMessageOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.ByteString getPayload()
required bytes payload = 2;
- Specified by:
getPayload
in interfaceBookkeeperProtocol.AuthMessageOrBuilder
- Returns:
- The payload.
-
setPayload
public BookkeeperProtocol.AuthMessage.Builder setPayload(com.google.protobuf.ByteString value)
required bytes payload = 2;
- Parameters:
value
- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
public BookkeeperProtocol.AuthMessage.Builder clearPayload()
required bytes payload = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final BookkeeperProtocol.AuthMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
mergeUnknownFields
public final BookkeeperProtocol.AuthMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BookkeeperProtocol.AuthMessage.Builder>
-
-