Class ReplicationFactorChange.ReplicationFactorChangeStateProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.databalancer.record.ReplicationFactorChange.ReplicationFactorChangeStateProto
- All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder, Serializable
- Enclosing class:
ReplicationFactorChange
public static final class ReplicationFactorChange.ReplicationFactorChangeStateProto
extends com.google.protobuf.GeneratedMessage
implements ReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder
Protobuf type
databalancer.ReplicationFactorChangeStateProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedatabalancer.ReplicationFactorChangeStateProtoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorintint32 desired_replication_factor = 3;getError()string error = 5;com.google.protobuf.ByteStringstring error = 5;longint64 last_update_time = 7;com.google.protobuf.Parser<ReplicationFactorChange.ReplicationFactorChangeStateProto> .databalancer.ReplicationFactorChangeState replication_factor_change_state = 4;int.databalancer.ReplicationFactorChangeState replication_factor_change_state = 4;intlongint64 start_time = 6;string topic_name = 2;com.google.protobuf.ByteStringstring topic_name = 2;intint32 version = 1;inthashCode()final booleanparseDelimitedFrom(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<ReplicationFactorChange.ReplicationFactorChangeStateProto> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, 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, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
TOPIC_NAME_FIELD_NUMBER
public static final int TOPIC_NAME_FIELD_NUMBER- See Also:
-
DESIRED_REPLICATION_FACTOR_FIELD_NUMBER
public static final int DESIRED_REPLICATION_FACTOR_FIELD_NUMBER- See Also:
-
REPLICATION_FACTOR_CHANGE_STATE_FIELD_NUMBER
public static final int REPLICATION_FACTOR_CHANGE_STATE_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
LAST_UPDATE_TIME_FIELD_NUMBER
public static final int LAST_UPDATE_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
getVersion
public int getVersion()int32 version = 1;- Specified by:
getVersionin interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The version.
-
getTopicName
string topic_name = 2;- Specified by:
getTopicNamein interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The topicName.
-
getTopicNameBytes
public com.google.protobuf.ByteString getTopicNameBytes()string topic_name = 2;- Specified by:
getTopicNameBytesin interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The bytes for topicName.
-
getDesiredReplicationFactor
public int getDesiredReplicationFactor()int32 desired_replication_factor = 3;- Specified by:
getDesiredReplicationFactorin interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The desiredReplicationFactor.
-
getReplicationFactorChangeStateValue
public int getReplicationFactorChangeStateValue().databalancer.ReplicationFactorChangeState replication_factor_change_state = 4;- Specified by:
getReplicationFactorChangeStateValuein interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The enum numeric value on the wire for replicationFactorChangeState.
-
getReplicationFactorChangeState
.databalancer.ReplicationFactorChangeState replication_factor_change_state = 4;- Specified by:
getReplicationFactorChangeStatein interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The replicationFactorChangeState.
-
getError
string error = 5;- Specified by:
getErrorin interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()string error = 5;- Specified by:
getErrorBytesin interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The bytes for error.
-
getStartTime
public long getStartTime()int64 start_time = 6;- Specified by:
getStartTimein interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The startTime.
-
getLastUpdateTime
public long getLastUpdateTime()int64 last_update_time = 7;- Specified by:
getLastUpdateTimein interfaceReplicationFactorChange.ReplicationFactorChangeStateProtoOrBuilder- Returns:
- The lastUpdateTime.
-
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 ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReplicationFactorChange.ReplicationFactorChangeStateProto 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 ReplicationFactorChange.ReplicationFactorChangeStateProto.Builder newBuilder(ReplicationFactorChange.ReplicationFactorChangeStateProto prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<ReplicationFactorChange.ReplicationFactorChangeStateProto> parser() -
getParserForType
public com.google.protobuf.Parser<ReplicationFactorChange.ReplicationFactorChangeStateProto> 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
-