Class AddBrokerV2.AddBrokerStateRecordProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.databalancer.record.AddBrokerV2.AddBrokerStateRecordProto
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AddBrokerV2.AddBrokerStateRecordProtoOrBuilder,Serializable
- Enclosing class:
AddBrokerV2
public static final class AddBrokerV2.AddBrokerStateRecordProto
extends com.google.protobuf.GeneratedMessage
implements AddBrokerV2.AddBrokerStateRecordProtoOrBuilder
Protobuf type
databalancer.AddBrokerStateRecordProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedatabalancer.AddBrokerStateRecordProtoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring base64_serialized_exception = 3;com.google.protobuf.ByteStringstring base64_serialized_exception = 3;intint32 brokerId = 2;static final com.google.protobuf.Descriptors.Descriptorlongint64 lastUpdateTimeMs = 5;com.google.protobuf.Parser<AddBrokerV2.AddBrokerStateRecordProto> intlongint64 startTimeMs = 4;getState().databalancer.AdditionState state = 6;int.databalancer.AdditionState state = 6;intVersion to allow change in exception serialization if needed.inthashCode()final booleannewBuilder(AddBrokerV2.AddBrokerStateRecordProto prototype) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AddBrokerV2.AddBrokerStateRecordProto> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
BROKERID_FIELD_NUMBER
public static final int BROKERID_FIELD_NUMBER- See Also:
-
BASE64_SERIALIZED_EXCEPTION_FIELD_NUMBER
public static final int BASE64_SERIALIZED_EXCEPTION_FIELD_NUMBER- See Also:
-
STARTTIMEMS_FIELD_NUMBER
public static final int STARTTIMEMS_FIELD_NUMBER- See Also:
-
LASTUPDATETIMEMS_FIELD_NUMBER
public static final int LASTUPDATETIMEMS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getVersion
public int getVersion()Version to allow change in exception serialization if needed.
int32 version = 1;- Specified by:
getVersionin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The version.
-
getBrokerId
public int getBrokerId()int32 brokerId = 2;- Specified by:
getBrokerIdin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The brokerId.
-
getBase64SerializedException
string base64_serialized_exception = 3;- Specified by:
getBase64SerializedExceptionin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The base64SerializedException.
-
getBase64SerializedExceptionBytes
public com.google.protobuf.ByteString getBase64SerializedExceptionBytes()string base64_serialized_exception = 3;- Specified by:
getBase64SerializedExceptionBytesin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The bytes for base64SerializedException.
-
getStartTimeMs
public long getStartTimeMs()int64 startTimeMs = 4;- Specified by:
getStartTimeMsin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The startTimeMs.
-
getLastUpdateTimeMs
public long getLastUpdateTimeMs()int64 lastUpdateTimeMs = 5;- Specified by:
getLastUpdateTimeMsin interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The lastUpdateTimeMs.
-
getStateValue
public int getStateValue().databalancer.AdditionState state = 6;- Specified by:
getStateValuein interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
.databalancer.AdditionState state = 6;- Specified by:
getStatein interfaceAddBrokerV2.AddBrokerStateRecordProtoOrBuilder- Returns:
- The state.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AddBrokerV2.AddBrokerStateRecordProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static AddBrokerV2.AddBrokerStateRecordProto.Builder newBuilder(AddBrokerV2.AddBrokerStateRecordProto prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-